{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "日期：    \n",
    "更新日期：10月28号（更新内容） 10月29号（更新内容）    \n",
    "撰写人：xxx   \n",
    "\n",
    "-----\n",
    "\n",
    "## 课堂学习内容：\n",
    "\n",
    "> * 1、高德API-WEB服务    \n",
    "> * 2、API经济成本的预估（调用量、并发量）   \n",
    "> * 3、地理编码\n",
    "...\n",
    "\n",
    "## 课后练习：\n",
    "\n",
    "> * 1、[地理编码](https://lbs.amap.com/api/webservice/guide/api/georegeo)   \n",
    "> * 2、[路径规划](http://lbs.amap.com/api/webservice/guide/api/direction)   \n",
    "..."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 准备工作"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests,json\n",
    "import pandas as pd\n",
    "key = \"21c4d9d81092ea5963a76a2e02269961\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 地理编码\n",
    "\n",
    "> * 1、结构化地址的定义： 首先，地址肯定是一串字符，内含国家、省份、城市、区县、城镇、乡村、街道、门牌号码、屋邨、大厦等建筑物名称。按照由大区域名称到小区域名称组合在一起的字符。一个有效的地址应该是独一无二的。注意：针对大陆、港、澳地区的地理编码转换时可以将国家信息选择性的忽略，但省、市、城镇等级别的地址构成是不能忽略的。暂时不支持返回台湾省的详细地址信息。    \n",
    "> * 2、url:https://restapi.amap.com/v3/geocode/geo?parameters      \n",
    "> * 3、requests.get()       \n",
    "> * 4、参数：   \n",
    "\n",
    ">> * A.必选：key（高德API秘钥），address(结构化地址)  \n",
    ">> * B.可选："
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "#### 准备数据 请思考：高德API是怎么获取数据的？数据库查询\n",
    "中大南方_address = \"广东省广州市中山大学南方学院\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "params = {\n",
    "    \"key\":key,\n",
    "    \"address\":中大南方_address\n",
    "}\n",
    "# positional argument follows keyword argument\n",
    "# pa 一定要放在前面，keyword argument放在末尾！！！可以\n",
    "response = requests.get(url,params=params)\n",
    "response"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.679287,23.632575'"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "中大南方_location = response.json()['geocodes'][0]['location']\n",
    "中大南方_location"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "### 小结：\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 逆地理编码\n",
    "\n",
    "> * A.url : https://restapi.amap.com/v3/geocode/regeo?parameters    \n",
    "> * B.requests.get()    \n",
    "> * C.参数：    \n",
    "\n",
    ">> * 1、必选：key,location(经纬度坐标)\n",
    ">> * 2、可选: extensions[(默认：base)可选\"all\",描述数据详细指数]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据准备 中大南方_location"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 逆地理编码函数\n",
    "def regeo(key,location,extensions=\"base\",radius=None,poitype=None):\n",
    "    \"\"\"\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/geocode/regeo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"location\":location,\n",
    "        \"extensions\":extensions,\n",
    "        \"radius\":radius,\n",
    "        \"poitype\":poitype\n",
    "    }\n",
    "    r = requests.get(url,params)\n",
    "    results = r.json()\n",
    "    return results\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "url = \"https://restapi.amap.com/v3/geocode/regeo?parameters\"\n",
    "params = {\n",
    "    \"key\":key,\n",
    "    \"location\":中大南方_location,\n",
    "    \"extensions\":\"all\"\n",
    "}\n",
    "r = requests.get(url,params)\n",
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['博学路', '中山路', 'S29从莞深高速']"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "_roads_ = []\n",
    "for item in r.json()['regeocode']['roads']:\n",
    "#     print(item['name'])\n",
    "    _roads_.append(item['name'])\n",
    "_roads_"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'regeocode': {'roads': [{'id': '020F49F0050461203',\n",
       "    'location': '113.68,23.634',\n",
       "    'direction': '南',\n",
       "    'name': '博学路',\n",
       "    'distance': '156.951'},\n",
       "   {'id': '020F49F0050462451',\n",
       "    'location': '113.677,23.6347',\n",
       "    'direction': '东南',\n",
       "    'name': '中山路',\n",
       "    'distance': '343.951'},\n",
       "   {'id': '020F49F006047765',\n",
       "    'location': '113.682,23.6394',\n",
       "    'direction': '南',\n",
       "    'name': 'S29从莞深高速',\n",
       "    'distance': '807.947'}],\n",
       "  'roadinters': [{'second_name': '中山路',\n",
       "    'first_id': '020F49F0050461203',\n",
       "    'second_id': '020F49F0050462451',\n",
       "    'location': '113.676794,23.634661',\n",
       "    'distance': '343.951',\n",
       "    'first_name': '博学路',\n",
       "    'direction': '东南'}],\n",
       "  'formatted_address': '广东省广州市从化区温泉镇中山大学南方学院',\n",
       "  'addressComponent': {'city': '广州市',\n",
       "   'province': '广东省',\n",
       "   'adcode': '440117',\n",
       "   'district': '从化区',\n",
       "   'towncode': '440117103000',\n",
       "   'streetNumber': {'number': '7号',\n",
       "    'location': '113.678600,23.633329',\n",
       "    'direction': '西北',\n",
       "    'distance': '109.203',\n",
       "    'street': '博学路'},\n",
       "   'country': '中国',\n",
       "   'township': '温泉镇',\n",
       "   'businessAreas': [[]],\n",
       "   'building': {'name': [], 'type': []},\n",
       "   'neighborhood': {'name': [], 'type': []},\n",
       "   'citycode': '020'},\n",
       "  'aois': [{'area': '536585.849985',\n",
       "    'type': '141201',\n",
       "    'id': 'B00140MR9A',\n",
       "    'location': '113.679262,23.632583',\n",
       "    'adcode': '440117',\n",
       "    'name': '中山大学南方学院',\n",
       "    'distance': '0'}],\n",
       "  'pois': [{'id': 'B00140MR9A',\n",
       "    'direction': '西',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉大道882号',\n",
       "    'poiweight': '0.450402',\n",
       "    'name': '中山大学南方学院',\n",
       "    'location': '113.679262,23.632583',\n",
       "    'distance': '2.69979',\n",
       "    'tel': '020-61787331',\n",
       "    'type': '科教文化服务;学校;高等院校'},\n",
       "   {'id': 'B0FFF2VMJ4',\n",
       "    'direction': '东南',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉大道886号中山大学南方学院内',\n",
       "    'poiweight': '0.148531',\n",
       "    'name': '中山大学南方学院-综合楼',\n",
       "    'location': '113.680117,23.631544',\n",
       "    'distance': '142.466',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;学校;学校'},\n",
       "   {'id': 'B0FFFTC9PH',\n",
       "    'direction': '东北',\n",
       "    'businessarea': [],\n",
       "    'address': '从莞深高速(中山大学南方学院)',\n",
       "    'poiweight': '0.193172',\n",
       "    'name': '中山大学南方学院教学楼10号',\n",
       "    'location': '113.680125,23.633492',\n",
       "    'distance': '132.988',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B00141TQKX',\n",
       "    'direction': '西北',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉大道882',\n",
       "    'poiweight': '0.148531',\n",
       "    'name': '中山大学南方学院教学楼6号',\n",
       "    'location': '113.678424,23.633710',\n",
       "    'distance': '153.818',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;学校;学校'},\n",
       "   {'id': 'B00141TQGR',\n",
       "    'direction': '西北',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路7',\n",
       "    'poiweight': '0.148531',\n",
       "    'name': '中山大学南方学院教学楼7号',\n",
       "    'location': '113.678600,23.633330',\n",
       "    'distance': '109.298',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;学校;高等院校'},\n",
       "   {'id': 'B00141WQCO',\n",
       "    'direction': '东北',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路',\n",
       "    'poiweight': '0.14954',\n",
       "    'name': '中山大学南方学院教学楼8号',\n",
       "    'location': '113.680399,23.634329',\n",
       "    'distance': '225.543',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFG9IORM',\n",
       "    'direction': '西北',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉大道882号中山大学南方学院内',\n",
       "    'poiweight': '0.287887',\n",
       "    'name': '中山大学南方学院-图书馆',\n",
       "    'location': '113.679177,23.632762',\n",
       "    'distance': '23.6163',\n",
       "    'tel': '020-61787368;020-61787371',\n",
       "    'type': '科教文化服务;图书馆;图书馆'},\n",
       "   {'id': 'B0FFKP9EQJ',\n",
       "    'direction': '东',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路附近',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '中山大学南方学院4号实验楼',\n",
       "    'location': '113.679963,23.632652',\n",
       "    'distance': '69.4077',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFJKIA10',\n",
       "    'direction': '东北',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉大道882号中山大学南方学院',\n",
       "    'poiweight': '0.191691',\n",
       "    'name': '中山大学南方学院-第11教学楼',\n",
       "    'location': '113.680037,23.633173',\n",
       "    'distance': '101.294',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B00141TRVH',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路21',\n",
       "    'poiweight': '0.148531',\n",
       "    'name': '中山大学南方学院教学楼2号',\n",
       "    'location': '113.677060,23.631346',\n",
       "    'distance': '264.846',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFKERBQZ',\n",
       "    'direction': '西北',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路7号附近',\n",
       "    'poiweight': '0.289141',\n",
       "    'name': '中山大学南方学院惟贤门',\n",
       "    'location': '113.678437,23.633721',\n",
       "    'distance': '154.082',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;学校;高等院校'},\n",
       "   {'id': 'B0FFKP81F4',\n",
       "    'direction': '东北',\n",
       "    'businessarea': [],\n",
       "    'address': '中山路',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '政商研究院教学楼9号',\n",
       "    'location': '113.679949,23.633919',\n",
       "    'distance': '163.951',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFKP9ET5',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路附近',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '中山大学南方学院1号实验楼',\n",
       "    'location': '113.678215,23.631370',\n",
       "    'distance': '172.86',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B00141TR76',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路29',\n",
       "    'poiweight': '0.052819',\n",
       "    'name': '中山大学南方学院教学楼4号',\n",
       "    'location': '113.677460,23.630490',\n",
       "    'distance': '297.315',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFKP7Q5N',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '中山大学南方学院2号实验楼',\n",
       "    'location': '113.678211,23.630956',\n",
       "    'distance': '210.76',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B00140TWHT',\n",
       "    'direction': '南',\n",
       "    'businessarea': [],\n",
       "    'address': '笃行路2号',\n",
       "    'poiweight': '0.157653',\n",
       "    'name': '教工住宅1号',\n",
       "    'location': '113.678490,23.630432',\n",
       "    'distance': '251.758',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;住宅区;住宅小区'},\n",
       "   {'id': 'B0G3ARGF5Y',\n",
       "    'direction': '西',\n",
       "    'businessarea': [],\n",
       "    'address': [],\n",
       "    'poiweight': '0.286321',\n",
       "    'name': '中山大学南方学院教学楼1号',\n",
       "    'location': '113.677077,23.631783',\n",
       "    'distance': '241.753',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;学校;高等院校'},\n",
       "   {'id': 'B0FFLBEOND',\n",
       "    'direction': '东南',\n",
       "    'businessarea': [],\n",
       "    'address': '从莞深高速(中山大学南方学院)',\n",
       "    'poiweight': '0.190963',\n",
       "    'name': '聚贤楼10号',\n",
       "    'location': '113.681253,23.631036',\n",
       "    'distance': '263.444',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;住宅区;宿舍'},\n",
       "   {'id': 'B0FFKP81F0',\n",
       "    'direction': '西',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路19号附近',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '教学楼1号(文学与传媒学院)',\n",
       "    'location': '113.676866,23.631736',\n",
       "    'distance': '263.674',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFKP838K',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路25',\n",
       "    'poiweight': '0.191742',\n",
       "    'name': '教学楼3号(外国语学院)',\n",
       "    'location': '113.677247,23.630947',\n",
       "    'distance': '275.62',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFJLW0O9',\n",
       "    'direction': '西',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路4附近',\n",
       "    'poiweight': '0.191645',\n",
       "    'name': '中山大学南方学院西区饭堂',\n",
       "    'location': '113.676210,23.632177',\n",
       "    'distance': '316.572',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFKPXMCN',\n",
       "    'direction': '北',\n",
       "    'businessarea': [],\n",
       "    'address': '中山路',\n",
       "    'poiweight': '0.191739',\n",
       "    'name': '中山大学南方学院音乐系',\n",
       "    'location': '113.678792,23.635389',\n",
       "    'distance': '316.942',\n",
       "    'tel': [],\n",
       "    'type': '科教文化服务;科教文化场所;科教文化场所'},\n",
       "   {'id': 'B0FFJBZLYT',\n",
       "    'direction': '西北',\n",
       "    'businessarea': [],\n",
       "    'address': '中山路与博学路交叉口东南50米',\n",
       "    'poiweight': '0.297382',\n",
       "    'name': '铜像广场',\n",
       "    'location': '113.676921,23.634555',\n",
       "    'distance': '326.444',\n",
       "    'tel': [],\n",
       "    'type': '风景名胜;风景名胜;风景名胜'},\n",
       "   {'id': 'B0FFG8CSEK',\n",
       "    'direction': '东',\n",
       "    'businessarea': [],\n",
       "    'address': '从莞深高速(中山大学南方学院)',\n",
       "    'poiweight': '0.185371',\n",
       "    'name': 'L5员工宿舍',\n",
       "    'location': '113.682583,23.631487',\n",
       "    'distance': '356.923',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;住宅区;宿舍'},\n",
       "   {'id': 'B0FFKPXO2S',\n",
       "    'direction': '北',\n",
       "    'businessarea': [],\n",
       "    'address': '博学路附近',\n",
       "    'poiweight': '0.188247',\n",
       "    'name': '中山大学南方学院医务室',\n",
       "    'location': '113.679394,23.635924',\n",
       "    'distance': '372.556',\n",
       "    'tel': [],\n",
       "    'type': '医疗保健服务;医疗保健服务场所;医疗保健服务场所'},\n",
       "   {'id': 'B0FFH6K3U9',\n",
       "    'direction': '西南',\n",
       "    'businessarea': [],\n",
       "    'address': '温泉镇温泉大道882号中大南方H7栋1-5层',\n",
       "    'poiweight': '0.254885',\n",
       "    'name': '广州中大南方招待所',\n",
       "    'location': '113.676330,23.631332',\n",
       "    'distance': '331.438',\n",
       "    'tel': '020-61787222',\n",
       "    'type': '住宿服务;住宿服务相关;住宿服务相关'},\n",
       "   {'id': 'B0FFHHLMF8',\n",
       "    'direction': '东北',\n",
       "    'businessarea': [],\n",
       "    'address': '中山大学南方学院明辩路2号第三饭堂',\n",
       "    'poiweight': '0.178935',\n",
       "    'name': '茗语轩餐厅',\n",
       "    'location': '113.681901,23.634495',\n",
       "    'distance': '341.332',\n",
       "    'tel': '13929501395;13533390928',\n",
       "    'type': '餐饮服务;中餐厅;中餐厅'},\n",
       "   {'id': 'B0FFLJV996',\n",
       "    'direction': '东南',\n",
       "    'businessarea': [],\n",
       "    'address': [],\n",
       "    'poiweight': '0.286264',\n",
       "    'name': '保利桃花源66BLOCK',\n",
       "    'location': '113.682954,23.631008',\n",
       "    'distance': '412.208',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;住宅区;住宅小区'},\n",
       "   {'id': 'B0FFKPXY26',\n",
       "    'direction': '北',\n",
       "    'businessarea': [],\n",
       "    'address': '从莞深高速公路',\n",
       "    'poiweight': '0.21826',\n",
       "    'name': '中山大学南方学院聚贤楼5号',\n",
       "    'location': '113.680265,23.636313',\n",
       "    'distance': '427.447',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;商务住宅相关;商务住宅相关'},\n",
       "   {'id': 'B0FFGXGN3K',\n",
       "    'direction': '东',\n",
       "    'businessarea': [],\n",
       "    'address': '中山大学南方学院',\n",
       "    'poiweight': '0.188657',\n",
       "    'name': '中山大学南方学院宿舍H25',\n",
       "    'location': '113.683474,23.632020',\n",
       "    'distance': '430.984',\n",
       "    'tel': [],\n",
       "    'type': '商务住宅;住宅区;宿舍'}]},\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000'}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 请计算该列表中出现聚贤楼的个数？并把它们放在一个新列表中？\n",
    "# 期中测试的数据很大 1379*76"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00140MR9A</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉大道882号</td>\n",
       "      <td>0.450402</td>\n",
       "      <td>中山大学南方学院</td>\n",
       "      <td>113.679262,23.632583</td>\n",
       "      <td>2.69979</td>\n",
       "      <td>020-61787331</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFF2VMJ4</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉大道886号中山大学南方学院内</td>\n",
       "      <td>0.148531</td>\n",
       "      <td>中山大学南方学院-综合楼</td>\n",
       "      <td>113.680117,23.631544</td>\n",
       "      <td>142.466</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;学校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFFTC9PH</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>从莞深高速(中山大学南方学院)</td>\n",
       "      <td>0.193172</td>\n",
       "      <td>中山大学南方学院教学楼10号</td>\n",
       "      <td>113.680125,23.633492</td>\n",
       "      <td>132.988</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B00141TQKX</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉大道882</td>\n",
       "      <td>0.148531</td>\n",
       "      <td>中山大学南方学院教学楼6号</td>\n",
       "      <td>113.678424,23.633710</td>\n",
       "      <td>153.818</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;学校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B00141TQGR</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路7</td>\n",
       "      <td>0.148531</td>\n",
       "      <td>中山大学南方学院教学楼7号</td>\n",
       "      <td>113.678600,23.633330</td>\n",
       "      <td>109.298</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00141WQCO</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路</td>\n",
       "      <td>0.14954</td>\n",
       "      <td>中山大学南方学院教学楼8号</td>\n",
       "      <td>113.680399,23.634329</td>\n",
       "      <td>225.543</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFG9IORM</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉大道882号中山大学南方学院内</td>\n",
       "      <td>0.287887</td>\n",
       "      <td>中山大学南方学院-图书馆</td>\n",
       "      <td>113.679177,23.632762</td>\n",
       "      <td>23.6163</td>\n",
       "      <td>020-61787368;020-61787371</td>\n",
       "      <td>科教文化服务;图书馆;图书馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFKP9EQJ</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路附近</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>中山大学南方学院4号实验楼</td>\n",
       "      <td>113.679963,23.632652</td>\n",
       "      <td>69.4077</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFJKIA10</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉大道882号中山大学南方学院</td>\n",
       "      <td>0.191691</td>\n",
       "      <td>中山大学南方学院-第11教学楼</td>\n",
       "      <td>113.680037,23.633173</td>\n",
       "      <td>101.294</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B00141TRVH</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路21</td>\n",
       "      <td>0.148531</td>\n",
       "      <td>中山大学南方学院教学楼2号</td>\n",
       "      <td>113.677060,23.631346</td>\n",
       "      <td>264.846</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFKERBQZ</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路7号附近</td>\n",
       "      <td>0.289141</td>\n",
       "      <td>中山大学南方学院惟贤门</td>\n",
       "      <td>113.678437,23.633721</td>\n",
       "      <td>154.082</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFKP81F4</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山路</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>政商研究院教学楼9号</td>\n",
       "      <td>113.679949,23.633919</td>\n",
       "      <td>163.951</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFKP9ET5</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路附近</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>中山大学南方学院1号实验楼</td>\n",
       "      <td>113.678215,23.631370</td>\n",
       "      <td>172.86</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B00141TR76</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路29</td>\n",
       "      <td>0.052819</td>\n",
       "      <td>中山大学南方学院教学楼4号</td>\n",
       "      <td>113.677460,23.630490</td>\n",
       "      <td>297.315</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFKP7Q5N</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>中山大学南方学院2号实验楼</td>\n",
       "      <td>113.678211,23.630956</td>\n",
       "      <td>210.76</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B00140TWHT</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>笃行路2号</td>\n",
       "      <td>0.157653</td>\n",
       "      <td>教工住宅1号</td>\n",
       "      <td>113.678490,23.630432</td>\n",
       "      <td>251.758</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0G3ARGF5Y</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.286321</td>\n",
       "      <td>中山大学南方学院教学楼1号</td>\n",
       "      <td>113.677077,23.631783</td>\n",
       "      <td>241.753</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFLBEOND</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>从莞深高速(中山大学南方学院)</td>\n",
       "      <td>0.190963</td>\n",
       "      <td>聚贤楼10号</td>\n",
       "      <td>113.681253,23.631036</td>\n",
       "      <td>263.444</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;宿舍</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFKP81F0</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路19号附近</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>教学楼1号(文学与传媒学院)</td>\n",
       "      <td>113.676866,23.631736</td>\n",
       "      <td>263.674</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFKP838K</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路25</td>\n",
       "      <td>0.191742</td>\n",
       "      <td>教学楼3号(外国语学院)</td>\n",
       "      <td>113.677247,23.630947</td>\n",
       "      <td>275.62</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFJLW0O9</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路4附近</td>\n",
       "      <td>0.191645</td>\n",
       "      <td>中山大学南方学院西区饭堂</td>\n",
       "      <td>113.676210,23.632177</td>\n",
       "      <td>316.572</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFKPXMCN</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山路</td>\n",
       "      <td>0.191739</td>\n",
       "      <td>中山大学南方学院音乐系</td>\n",
       "      <td>113.678792,23.635389</td>\n",
       "      <td>316.942</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFJBZLYT</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山路与博学路交叉口东南50米</td>\n",
       "      <td>0.297382</td>\n",
       "      <td>铜像广场</td>\n",
       "      <td>113.676921,23.634555</td>\n",
       "      <td>326.444</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;风景名胜;风景名胜</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B0FFG8CSEK</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>从莞深高速(中山大学南方学院)</td>\n",
       "      <td>0.185371</td>\n",
       "      <td>L5员工宿舍</td>\n",
       "      <td>113.682583,23.631487</td>\n",
       "      <td>356.923</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;宿舍</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0FFKPXO2S</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>博学路附近</td>\n",
       "      <td>0.188247</td>\n",
       "      <td>中山大学南方学院医务室</td>\n",
       "      <td>113.679394,23.635924</td>\n",
       "      <td>372.556</td>\n",
       "      <td>[]</td>\n",
       "      <td>医疗保健服务;医疗保健服务场所;医疗保健服务场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B0FFH6K3U9</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉镇温泉大道882号中大南方H7栋1-5层</td>\n",
       "      <td>0.254885</td>\n",
       "      <td>广州中大南方招待所</td>\n",
       "      <td>113.676330,23.631332</td>\n",
       "      <td>331.438</td>\n",
       "      <td>020-61787222</td>\n",
       "      <td>住宿服务;住宿服务相关;住宿服务相关</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFHHLMF8</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山大学南方学院明辩路2号第三饭堂</td>\n",
       "      <td>0.178935</td>\n",
       "      <td>茗语轩餐厅</td>\n",
       "      <td>113.681901,23.634495</td>\n",
       "      <td>341.332</td>\n",
       "      <td>13929501395;13533390928</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B0FFLJV996</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.286264</td>\n",
       "      <td>保利桃花源66BLOCK</td>\n",
       "      <td>113.682954,23.631008</td>\n",
       "      <td>412.208</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B0FFKPXY26</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>从莞深高速公路</td>\n",
       "      <td>0.21826</td>\n",
       "      <td>中山大学南方学院聚贤楼5号</td>\n",
       "      <td>113.680265,23.636313</td>\n",
       "      <td>427.447</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;商务住宅相关;商务住宅相关</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B0FFGXGN3K</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山大学南方学院</td>\n",
       "      <td>0.188657</td>\n",
       "      <td>中山大学南方学院宿舍H25</td>\n",
       "      <td>113.683474,23.632020</td>\n",
       "      <td>430.984</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;住宅区;宿舍</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea                 address poiweight  \\\n",
       "0   B00140MR9A         西           []                温泉大道882号  0.450402   \n",
       "1   B0FFF2VMJ4        东南           []       温泉大道886号中山大学南方学院内  0.148531   \n",
       "2   B0FFFTC9PH        东北           []         从莞深高速(中山大学南方学院)  0.193172   \n",
       "3   B00141TQKX        西北           []                 温泉大道882  0.148531   \n",
       "4   B00141TQGR        西北           []                    博学路7  0.148531   \n",
       "5   B00141WQCO        东北           []                     博学路   0.14954   \n",
       "6   B0FFG9IORM        西北           []       温泉大道882号中山大学南方学院内  0.287887   \n",
       "7   B0FFKP9EQJ         东           []                   博学路附近  0.191742   \n",
       "8   B0FFJKIA10        东北           []        温泉大道882号中山大学南方学院  0.191691   \n",
       "9   B00141TRVH        西南           []                   博学路21  0.148531   \n",
       "10  B0FFKERBQZ        西北           []                 博学路7号附近  0.289141   \n",
       "11  B0FFKP81F4        东北           []                     中山路  0.191742   \n",
       "12  B0FFKP9ET5        西南           []                   博学路附近  0.191742   \n",
       "13  B00141TR76        西南           []                   博学路29  0.052819   \n",
       "14  B0FFKP7Q5N        西南           []                     博学路  0.191742   \n",
       "15  B00140TWHT         南           []                   笃行路2号  0.157653   \n",
       "16  B0G3ARGF5Y         西           []                      []  0.286321   \n",
       "17  B0FFLBEOND        东南           []         从莞深高速(中山大学南方学院)  0.190963   \n",
       "18  B0FFKP81F0         西           []                博学路19号附近  0.191742   \n",
       "19  B0FFKP838K        西南           []                   博学路25  0.191742   \n",
       "20  B0FFJLW0O9         西           []                  博学路4附近  0.191645   \n",
       "21  B0FFKPXMCN         北           []                     中山路  0.191739   \n",
       "22  B0FFJBZLYT        西北           []         中山路与博学路交叉口东南50米  0.297382   \n",
       "23  B0FFG8CSEK         东           []         从莞深高速(中山大学南方学院)  0.185371   \n",
       "24  B0FFKPXO2S         北           []                   博学路附近  0.188247   \n",
       "25  B0FFH6K3U9        西南           []  温泉镇温泉大道882号中大南方H7栋1-5层  0.254885   \n",
       "26  B0FFHHLMF8        东北           []       中山大学南方学院明辩路2号第三饭堂  0.178935   \n",
       "27  B0FFLJV996        东南           []                      []  0.286264   \n",
       "28  B0FFKPXY26         北           []                 从莞深高速公路   0.21826   \n",
       "29  B0FFGXGN3K         东           []                中山大学南方学院  0.188657   \n",
       "\n",
       "               name              location distance                        tel  \\\n",
       "0          中山大学南方学院  113.679262,23.632583  2.69979               020-61787331   \n",
       "1      中山大学南方学院-综合楼  113.680117,23.631544  142.466                         []   \n",
       "2    中山大学南方学院教学楼10号  113.680125,23.633492  132.988                         []   \n",
       "3     中山大学南方学院教学楼6号  113.678424,23.633710  153.818                         []   \n",
       "4     中山大学南方学院教学楼7号  113.678600,23.633330  109.298                         []   \n",
       "5     中山大学南方学院教学楼8号  113.680399,23.634329  225.543                         []   \n",
       "6      中山大学南方学院-图书馆  113.679177,23.632762  23.6163  020-61787368;020-61787371   \n",
       "7     中山大学南方学院4号实验楼  113.679963,23.632652  69.4077                         []   \n",
       "8   中山大学南方学院-第11教学楼  113.680037,23.633173  101.294                         []   \n",
       "9     中山大学南方学院教学楼2号  113.677060,23.631346  264.846                         []   \n",
       "10      中山大学南方学院惟贤门  113.678437,23.633721  154.082                         []   \n",
       "11       政商研究院教学楼9号  113.679949,23.633919  163.951                         []   \n",
       "12    中山大学南方学院1号实验楼  113.678215,23.631370   172.86                         []   \n",
       "13    中山大学南方学院教学楼4号  113.677460,23.630490  297.315                         []   \n",
       "14    中山大学南方学院2号实验楼  113.678211,23.630956   210.76                         []   \n",
       "15           教工住宅1号  113.678490,23.630432  251.758                         []   \n",
       "16    中山大学南方学院教学楼1号  113.677077,23.631783  241.753                         []   \n",
       "17           聚贤楼10号  113.681253,23.631036  263.444                         []   \n",
       "18   教学楼1号(文学与传媒学院)  113.676866,23.631736  263.674                         []   \n",
       "19     教学楼3号(外国语学院)  113.677247,23.630947   275.62                         []   \n",
       "20     中山大学南方学院西区饭堂  113.676210,23.632177  316.572                         []   \n",
       "21      中山大学南方学院音乐系  113.678792,23.635389  316.942                         []   \n",
       "22             铜像广场  113.676921,23.634555  326.444                         []   \n",
       "23           L5员工宿舍  113.682583,23.631487  356.923                         []   \n",
       "24      中山大学南方学院医务室  113.679394,23.635924  372.556                         []   \n",
       "25        广州中大南方招待所  113.676330,23.631332  331.438               020-61787222   \n",
       "26            茗语轩餐厅  113.681901,23.634495  341.332    13929501395;13533390928   \n",
       "27     保利桃花源66BLOCK  113.682954,23.631008  412.208                         []   \n",
       "28    中山大学南方学院聚贤楼5号  113.680265,23.636313  427.447                         []   \n",
       "29    中山大学南方学院宿舍H25  113.683474,23.632020  430.984                         []   \n",
       "\n",
       "                        type  \n",
       "0             科教文化服务;学校;高等院校  \n",
       "1               科教文化服务;学校;学校  \n",
       "2       科教文化服务;科教文化场所;科教文化场所  \n",
       "3               科教文化服务;学校;学校  \n",
       "4             科教文化服务;学校;高等院校  \n",
       "5       科教文化服务;科教文化场所;科教文化场所  \n",
       "6             科教文化服务;图书馆;图书馆  \n",
       "7       科教文化服务;科教文化场所;科教文化场所  \n",
       "8       科教文化服务;科教文化场所;科教文化场所  \n",
       "9       科教文化服务;科教文化场所;科教文化场所  \n",
       "10            科教文化服务;学校;高等院校  \n",
       "11      科教文化服务;科教文化场所;科教文化场所  \n",
       "12      科教文化服务;科教文化场所;科教文化场所  \n",
       "13      科教文化服务;科教文化场所;科教文化场所  \n",
       "14      科教文化服务;科教文化场所;科教文化场所  \n",
       "15             商务住宅;住宅区;住宅小区  \n",
       "16            科教文化服务;学校;高等院校  \n",
       "17               商务住宅;住宅区;宿舍  \n",
       "18      科教文化服务;科教文化场所;科教文化场所  \n",
       "19      科教文化服务;科教文化场所;科教文化场所  \n",
       "20      科教文化服务;科教文化场所;科教文化场所  \n",
       "21      科教文化服务;科教文化场所;科教文化场所  \n",
       "22            风景名胜;风景名胜;风景名胜  \n",
       "23               商务住宅;住宅区;宿舍  \n",
       "24  医疗保健服务;医疗保健服务场所;医疗保健服务场所  \n",
       "25        住宿服务;住宿服务相关;住宿服务相关  \n",
       "26              餐饮服务;中餐厅;中餐厅  \n",
       "27             商务住宅;住宅区;住宅小区  \n",
       "28        商务住宅;商务住宅相关;商务住宅相关  \n",
       "29               商务住宅;住宅区;宿舍  "
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(r.json()['regeocode']['pois'])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 路径规划\n",
    "\n",
    "> * 1、步行\n",
    "> * 2、公交车\n",
    "> * 3、驾车"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 步行 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/direction/walking?parameters    \n",
    "> * 2、requests.get()\n",
    "> * 3、参数：必选：key，origin（出发点（经度，纬度））,destination（目的地（经度，纬度））"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据准备： \n",
    "origin = \"广东省广州市中山大学南方学院\"\n",
    "destination = \"广州市从化区龙岗\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 思考：如果有1000个位置？重复代码？\n",
    "# 函数！？ -->1、节省代码，重复利用  2、可以给小白（会一点python）用！\n",
    "# 地理编码 =》 函数形式\n",
    "# 函数一定不会报错，哪怕你写的语法有错误，哪怕你写的参数没定义？-----> 函数只有在执行（调用）时才会真正意义的运行！\n",
    "\n",
    "def geocode(key,address,city=None,batch=None)->str:\n",
    "    \"\"\"获取高德API的地理编码\n",
    "    注释：key是指高德API的秘钥，请先去注册\n",
    "          address是指结构化地址，具体请查看：https://lbs.amap.com/api/webservice/guide/api/georegeo   \n",
    "    \"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"address\":address,\n",
    "        \"city\":city,\n",
    "        \"batch\":batch\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()['geocodes'][0]['location']\n",
    "    # 返回值\n",
    "    return results\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on function geocode in module __main__:\n",
      "\n",
      "geocode(key, address, city=None, batch=None) -> str\n",
      "    获取高德API的地理编码\n",
      "    注释：key是指高德API的秘钥，请先去注册\n",
      "          address是指结构化地址，具体请查看：https://lbs.amap.com/api/webservice/guide/api/georegeo\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help(geocode)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.679287,23.632575'"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "起始点_中大南方 = geocode(key,origin)\n",
    "起始点_中大南方"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.668051,23.600869'"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "目的地_龙岗 = geocode(key,destination)\n",
    "目的地_龙岗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 步行\n",
    "url = \"https://restapi.amap.com/v3/direction/walking?parameters\"\n",
    "params = {\n",
    "    \"key\":key,\n",
    "    \"origin\":起始点_中大南方,\n",
    "    \"destination\":目的地_龙岗\n",
    "}\n",
    "r = requests.get(url,params)\n",
    "r"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'distance': '4957',\n",
       "  'duration': '3966',\n",
       "  'steps': [{'instruction': '向东步行101米右转',\n",
       "    'orientation': '东',\n",
       "    'road': [],\n",
       "    'distance': '101',\n",
       "    'duration': '81',\n",
       "    'polyline': '113.679592,23.632491;113.680586,23.632522',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行199米向右前方行走',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '199',\n",
       "    'duration': '159',\n",
       "    'polyline': '113.680586,23.632522;113.680638,23.63214;113.680668,23.63174;113.680634,23.631541;113.68059,23.631437;113.68059,23.631437;113.680499,23.631241;113.680408,23.631094;113.680208,23.630842',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向西步行159米左转',\n",
       "    'orientation': '西',\n",
       "    'road': [],\n",
       "    'distance': '159',\n",
       "    'duration': '127',\n",
       "    'polyline': '113.680204,23.630838;113.680035,23.630773;113.680035,23.630773;113.679644,23.630638;113.679644,23.630638;113.679362,23.630521;113.679201,23.630473;113.679201,23.630473;113.679032,23.63043;113.679032,23.63043;113.67888,23.630404;113.67888,23.630404;113.678711,23.630365',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行237米左转',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '237',\n",
       "    'duration': '190',\n",
       "    'polyline': '113.678711,23.63036;113.678711,23.62934;113.678711,23.62934;113.678711,23.629193;113.678689,23.629084;113.678637,23.629023;113.678424,23.628902;113.678368,23.628841;113.678316,23.628724;113.678294,23.628611;113.678294,23.628611;113.678277,23.628372',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向南步行498米向右前方行走',\n",
       "    'orientation': '南',\n",
       "    'road': [],\n",
       "    'distance': '498',\n",
       "    'duration': '398',\n",
       "    'polyline': '113.678273,23.628368;113.678572,23.628338;113.678685,23.628307;113.678685,23.628307;113.678845,23.628234;113.679045,23.628073;113.679158,23.627964;113.679158,23.627964;113.679214,23.627869;113.679236,23.627778;113.67928,23.627526;113.679288,23.627322;113.679288,23.627322;113.679253,23.626853;113.679184,23.626623;113.679141,23.626497;113.679002,23.626259;113.678941,23.626176;113.678711,23.625977;113.67862,23.625864;113.678529,23.62572;113.678438,23.625191;113.678429,23.625056;113.678451,23.624939;113.678572,23.624657',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向西南步行722米左转',\n",
       "    'orientation': '西南',\n",
       "    'road': [],\n",
       "    'distance': '722',\n",
       "    'duration': '578',\n",
       "    'polyline': '113.678572,23.624653;113.678559,23.62451;113.678416,23.624323;113.678416,23.624323;113.677582,23.623793;113.676532,23.623346;113.676363,23.623255;113.676272,23.623151;113.676111,23.622834;113.676042,23.622739;113.67579,23.622483;113.675499,23.622279;113.675417,23.622174;113.675386,23.622088;113.675378,23.621836;113.675378,23.621836;113.675391,23.62161;113.675434,23.621476;113.675543,23.621359;113.675764,23.621181;113.675846,23.621089;113.675903,23.620994;113.675907,23.620855;113.675877,23.620725;113.675747,23.620547;113.675599,23.620373;113.675243,23.620013',\n",
       "    'action': '左转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '向东南步行412米向右前方行走',\n",
       "    'orientation': '东南',\n",
       "    'road': [],\n",
       "    'distance': '412',\n",
       "    'duration': '330',\n",
       "    'polyline': '113.675239,23.620009;113.67549,23.620013;113.675642,23.619991;113.675773,23.619948;113.676016,23.619796;113.676901,23.619193;113.677261,23.618785;113.678069,23.61783;113.678069,23.61783;113.678181,23.617656',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿乌土街向南步行1381米右转',\n",
       "    'orientation': '南',\n",
       "    'road': '乌土街',\n",
       "    'distance': '1381',\n",
       "    'duration': '1105',\n",
       "    'polyline': '113.678181,23.617652;113.678095,23.617205;113.678051,23.617075;113.677973,23.616923;113.677743,23.616558;113.677609,23.616289;113.677391,23.615816;113.677339,23.615668;113.67714,23.614826;113.677049,23.614323;113.676927,23.613359;113.676845,23.612786;113.676602,23.611489;113.676415,23.610438;113.676411,23.610265;113.676411,23.610265;113.676489,23.609848;113.676502,23.609622;113.676493,23.609236;113.676415,23.608746;113.676415,23.608485;113.67648,23.60819;113.67661,23.607734;113.676819,23.606736;113.676862,23.606541;113.676914,23.606415;113.677014,23.606254;113.677535,23.605673',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿乌土街向西南步行165米直行',\n",
       "    'orientation': '西南',\n",
       "    'road': '乌土街',\n",
       "    'distance': '165',\n",
       "    'duration': '132',\n",
       "    'polyline': '113.677535,23.605668;113.676988,23.605373;113.676402,23.605;113.676163,23.604887',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿934县道向西步行118米直行',\n",
       "    'orientation': '西',\n",
       "    'road': '934县道',\n",
       "    'distance': '118',\n",
       "    'duration': '94',\n",
       "    'polyline': '113.676159,23.604883;113.675799,23.604805;113.675508,23.604779;113.675508,23.604779;113.675013,23.60474',\n",
       "    'action': '直行',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿桃园东路向西南步行674米向右前方行走',\n",
       "    'orientation': '西南',\n",
       "    'road': '桃园东路',\n",
       "    'distance': '674',\n",
       "    'duration': '539',\n",
       "    'polyline': '113.675009,23.604735;113.674236,23.604683;113.673893,23.604618;113.673464,23.604492;113.673464,23.604492;113.67168,23.604006;113.671541,23.603958;113.671411,23.603854;113.671068,23.603472;113.670807,23.603264;113.670807,23.603264;113.670525,23.603073;113.6702,23.602904;113.6702,23.602904;113.670022,23.602795;113.670022,23.602795;113.669909,23.602682;113.669818,23.602517;113.669787,23.602413;113.669718,23.601901',\n",
       "    'action': '向右前方行走',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿桃园东路向西南步行247米右转',\n",
       "    'orientation': '西南',\n",
       "    'road': '桃园东路',\n",
       "    'distance': '247',\n",
       "    'duration': '198',\n",
       "    'polyline': '113.669714,23.601897;113.66964,23.601771;113.66964,23.601771;113.669488,23.601558;113.669488,23.601558;113.668789,23.600859;113.668663,23.600768;113.668663,23.600768;113.668442,23.600647;113.667947,23.600417',\n",
       "    'action': '右转',\n",
       "    'assistant_action': [],\n",
       "    'walk_type': '0'},\n",
       "   {'instruction': '沿龙泉路向北步行44米到达目的地',\n",
       "    'orientation': '北',\n",
       "    'road': '龙泉路',\n",
       "    'distance': '44',\n",
       "    'duration': '35',\n",
       "    'polyline': '113.667943,23.600412;113.667812,23.600794',\n",
       "    'action': [],\n",
       "    'assistant_action': '到达目的地',\n",
       "    'walk_type': '0'}]}]"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "r.json()['route']['paths']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>walk_type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>向东步行101米右转</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>101</td>\n",
       "      <td>81</td>\n",
       "      <td>113.679592,23.632491;113.680586,23.632522</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>向南步行199米向右前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>199</td>\n",
       "      <td>159</td>\n",
       "      <td>113.680586,23.632522;113.680638,23.63214;113.6...</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>向西步行159米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>159</td>\n",
       "      <td>127</td>\n",
       "      <td>113.680204,23.630838;113.680035,23.630773;113....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>向南步行237米左转</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>237</td>\n",
       "      <td>190</td>\n",
       "      <td>113.678711,23.63036;113.678711,23.62934;113.67...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>向南步行498米向右前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>498</td>\n",
       "      <td>398</td>\n",
       "      <td>113.678273,23.628368;113.678572,23.628338;113....</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>向西南步行722米左转</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>722</td>\n",
       "      <td>578</td>\n",
       "      <td>113.678572,23.624653;113.678559,23.62451;113.6...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>向东南步行412米向右前方行走</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>412</td>\n",
       "      <td>330</td>\n",
       "      <td>113.675239,23.620009;113.67549,23.620013;113.6...</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>沿乌土街向南步行1381米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>乌土街</td>\n",
       "      <td>1381</td>\n",
       "      <td>1105</td>\n",
       "      <td>113.678181,23.617652;113.678095,23.617205;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>沿乌土街向西南步行165米直行</td>\n",
       "      <td>西南</td>\n",
       "      <td>乌土街</td>\n",
       "      <td>165</td>\n",
       "      <td>132</td>\n",
       "      <td>113.677535,23.605668;113.676988,23.605373;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>沿934县道向西步行118米直行</td>\n",
       "      <td>西</td>\n",
       "      <td>934县道</td>\n",
       "      <td>118</td>\n",
       "      <td>94</td>\n",
       "      <td>113.676159,23.604883;113.675799,23.604805;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>沿桃园东路向西南步行674米向右前方行走</td>\n",
       "      <td>西南</td>\n",
       "      <td>桃园东路</td>\n",
       "      <td>674</td>\n",
       "      <td>539</td>\n",
       "      <td>113.675009,23.604735;113.674236,23.604683;113....</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>沿桃园东路向西南步行247米右转</td>\n",
       "      <td>西南</td>\n",
       "      <td>桃园东路</td>\n",
       "      <td>247</td>\n",
       "      <td>198</td>\n",
       "      <td>113.669714,23.601897;113.66964,23.601771;113.6...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>沿龙泉路向北步行44米到达目的地</td>\n",
       "      <td>北</td>\n",
       "      <td>龙泉路</td>\n",
       "      <td>44</td>\n",
       "      <td>35</td>\n",
       "      <td>113.667943,23.600412;113.667812,23.600794</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             instruction orientation   road distance duration  \\\n",
       "0             向东步行101米右转           东     []      101       81   \n",
       "1         向南步行199米向右前方行走           南     []      199      159   \n",
       "2             向西步行159米左转           西     []      159      127   \n",
       "3             向南步行237米左转           南     []      237      190   \n",
       "4         向南步行498米向右前方行走           南     []      498      398   \n",
       "5            向西南步行722米左转          西南     []      722      578   \n",
       "6        向东南步行412米向右前方行走          东南     []      412      330   \n",
       "7        沿乌土街向南步行1381米右转           南    乌土街     1381     1105   \n",
       "8        沿乌土街向西南步行165米直行          西南    乌土街      165      132   \n",
       "9       沿934县道向西步行118米直行           西  934县道      118       94   \n",
       "10  沿桃园东路向西南步行674米向右前方行走          西南   桃园东路      674      539   \n",
       "11      沿桃园东路向西南步行247米右转          西南   桃园东路      247      198   \n",
       "12      沿龙泉路向北步行44米到达目的地           北    龙泉路       44       35   \n",
       "\n",
       "                                             polyline  action  \\\n",
       "0           113.679592,23.632491;113.680586,23.632522      右转   \n",
       "1   113.680586,23.632522;113.680638,23.63214;113.6...  向右前方行走   \n",
       "2   113.680204,23.630838;113.680035,23.630773;113....      左转   \n",
       "3   113.678711,23.63036;113.678711,23.62934;113.67...      左转   \n",
       "4   113.678273,23.628368;113.678572,23.628338;113....  向右前方行走   \n",
       "5   113.678572,23.624653;113.678559,23.62451;113.6...      左转   \n",
       "6   113.675239,23.620009;113.67549,23.620013;113.6...  向右前方行走   \n",
       "7   113.678181,23.617652;113.678095,23.617205;113....      右转   \n",
       "8   113.677535,23.605668;113.676988,23.605373;113....      直行   \n",
       "9   113.676159,23.604883;113.675799,23.604805;113....      直行   \n",
       "10  113.675009,23.604735;113.674236,23.604683;113....  向右前方行走   \n",
       "11  113.669714,23.601897;113.66964,23.601771;113.6...      右转   \n",
       "12          113.667943,23.600412;113.667812,23.600794      []   \n",
       "\n",
       "   assistant_action walk_type  \n",
       "0                []         0  \n",
       "1                []         0  \n",
       "2                []         0  \n",
       "3                []         0  \n",
       "4                []         0  \n",
       "5                []         0  \n",
       "6                []         0  \n",
       "7                []         0  \n",
       "8                []         0  \n",
       "9                []         0  \n",
       "10               []         0  \n",
       "11               []         0  \n",
       "12            到达目的地         0  "
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(r.json()[\"route\"][\"paths\"][0][\"steps\"])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 公交车 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/direction/transit/integrated?parameters   \n",
    "> * 2、requests.get()\n",
    "> * 3、[公交车文档](https://lbs.amap.com/api/webservice/guide/api/direction#bus)\n",
    "> * 4、参数：必选：key，origin（出发点（经度，纬度））,destination（目的地（经度，纬度）），city（城市名字或citycode）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "def bus(key,origin,destination,city,cityd=None,extensions='base',strategy=0,nightflag=0,date=None,time=None,output='JSON'):\n",
    "    \"\"\"公交车的路径规划，orgigin与destination通过上面的geo函数获得\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/direction/transit/integrated?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"origin\":origin,\n",
    "    \"destination\":destination,\n",
    "    \"city\":city,\n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "#     data = r.json()['route']['paths'][0][\"steps\"]\n",
    "#     for i in range (0,len(data)):\n",
    "#         print(data[int(i)][\"instruction\"])\n",
    "    # 返回值\n",
    "    return results\n",
    "    \n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "bus(key,geocode(key,\"广东省广州市暨南大学\"),geocode(key,'广东省广州市天河区猎德村'),'广州')\n",
    "r"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 驾车 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/direction/driving?parameters  \n",
    "> * 2、requests.get()\n",
    "> * 3、[驾车文档](https://lbs.amap.com/api/webservice/guide/api/direction#driving)\n",
    "> * 4、参数：必选：key，origin（出发点（经度，纬度））,destination（目的地（经度，纬度）），extensions（base:返回基本信息；all：返回全部信息）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [],
   "source": [
    "def driving(key,origin,destination,extensions,originid=None,destinationid=None,strategy=0,origintype=None,destinationtype\n",
    "            =None,output='JSON',waypoints=None,avoidpolygons=None,avoidroad=None,province=None,number=None,cartype=0,\n",
    "            ferry=0,roadaggregation=\"false\",callback=None):\n",
    "    \"\"\"驾车的路径规划，orgigin与destination通过上面的geo函数获得\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/direction/driving?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"origin\":origin,\n",
    "    \"destination\":destination,\n",
    "    \"extensions\":extensions,\n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "#     data = r.json()['route']['paths'][0][\"steps\"]\n",
    "#     for i in range (0,len(data)):\n",
    "#         print(data[int(i)][\"instruction\"])\n",
    "    # 返回值\n",
    "    return results\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 85,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "driving(key,geocode(key,\"广东省广州市暨南大学\"),geocode(key,'广东省广州市天河区猎德村'),'base')\n",
    "response"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 骑行 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v4/direction/bicycling?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、[骑行文档](https://lbs.amap.com/api/webservice/guide/api/direction#t8)\n",
    "> * 4、参数：必选：key，origin（出发点（经度，纬度））,destination（目的地（经度，纬度））"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "def bicycling(key,origin,destination):\n",
    "    \"\"\"骑行的路径规划，orgigin与destination通过上面的geo函数获得\"\"\"\n",
    "    url = \"https://restapi.amap.com/v4/direction/bicycling?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"origin\":origin,\n",
    "    \"destination\":destination,    \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "bicycling(key,geocode(key,\"广东省广州市暨南大学\"),geocode(key,'广东省广州市天河区猎德村'))\n",
    "response"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 货车 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v4/direction/truck?parameters  \n",
    "> * 2、requests.get()\n",
    "> * 3、[货车文档](https://lbs.amap.com/api/webservice/guide/api/direction#t9)\n",
    "> * 4、参数：必选：key；origin（出发点（经度，纬度））；destination（目的地（经度，纬度））；size（1：微型车，2：轻型车（默认值），3：中型车，4：重型车）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 129,
   "metadata": {},
   "outputs": [],
   "source": [
    "def truck(key,origin,destination,size,originid=None,destinationid=None,strategy=1,origintype=None,destinationtype\n",
    "         =None,output='JSON',diu=None,waypoints=None,height=None,width=None,load=None,weight=None,axis=None,province=None,\n",
    "           number=None,cartype=0,avoidpolygons=None,nosteps=1):\n",
    "    \"\"\"驾车的路径规划，orgigin与destination通过上面的geo函数获得\"\"\"\n",
    "    url = \"https://restapi.amap.com/v4/direction/truck?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"destination\":destination,\n",
    "    \"origin\":origin,\n",
    "    \"size\":size,\n",
    "    \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 130,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'data': {'route': {'destination': '113.336290,23.115520',\n",
       "   'origin': '113.350961,23.131577',\n",
       "   'paths': [{'distance': 4243,\n",
       "     'duration': 470,\n",
       "     'restriction': 0,\n",
       "     'steps': [{'action': '向右前方行驶',\n",
       "       'assistant_action': '进入匝道',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 1622,\n",
       "       'duration': 84,\n",
       "       'instruction': '沿中山立交桥途径华南大桥、S4华南快速向南行驶1.6千米向右前方行驶进入匝道',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503;113.351515,23.129436;113.35158,23.128824;113.351641,23.12829;113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059;113.352174,23.119874;113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418;113.352075,23.116992',\n",
       "       'road': '中山立交桥',\n",
       "       'tmcs': [{'distance': 126,\n",
       "         'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 186,\n",
       "         'polyline': '113.351406,23.130503;113.351515,23.129436;113.35158,23.128824',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 132,\n",
       "         'polyline': '113.35158,23.128824;113.351641,23.12829;113.351701,23.127635',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 781,\n",
       "         'polyline': '113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 79,\n",
       "         'polyline': '113.352148,23.12059;113.352174,23.119874',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 65,\n",
       "         'polyline': '113.352174,23.119874;113.352179,23.119275',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 206,\n",
       "         'polyline': '113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 47,\n",
       "         'polyline': '113.352096,23.117418;113.352075,23.116992',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 1622,\n",
       "       'toll_road': '中山立交桥',\n",
       "       'tolls': 0},\n",
       "      {'action': '减速行驶',\n",
       "       'assistant_action': '到达收费站',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 370,\n",
       "       'duration': 52,\n",
       "       'instruction': '沿S4华南快速出口向东南行驶370米减速行驶到达收费站',\n",
       "       'orientation': '东南',\n",
       "       'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 139,\n",
       "         'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 170,\n",
       "         'polyline': '113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 61,\n",
       "         'polyline': '113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 370,\n",
       "       'toll_road': 'S4华南快速出口',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None}],\n",
       "       'distance': 53,\n",
       "       'duration': 42,\n",
       "       'instruction': '沿S4华南快速出口向北行驶53米左转',\n",
       "       'orientation': '北',\n",
       "       'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 53,\n",
       "         'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 1778,\n",
       "       'duration': 216,\n",
       "       'instruction': '沿花城大道向西行驶1.8千米左转',\n",
       "       'orientation': '西',\n",
       "       'polyline': '113.352769,23.117335;113.352148,23.117313;113.351836,23.117309;113.351719,23.117305;113.351528,23.117296;113.351337,23.117305;113.351263,23.117296;113.351185,23.117296;113.350799,23.117292;113.349887,23.117283;113.349193,23.117283;113.349097,23.117283;113.348906,23.117274;113.348568,23.117292;113.34832,23.117309;113.347791,23.117344;113.347721,23.117357;113.347374,23.117396;113.347096,23.117426;113.346862,23.117444;113.345981,23.117535;113.344839,23.117609;113.344674,23.117622;113.344132,23.117648;113.343767,23.117661;113.343459,23.117682;113.343277,23.1177;113.342969,23.117713;113.342222,23.117765;113.341411,23.117817;113.340495,23.117921;113.340304,23.117934;113.339748,23.11799;113.339132,23.118047;113.338837,23.118077;113.335078,23.118381;113.335039,23.118138',\n",
       "       'road': '花城大道',\n",
       "       'tmcs': [{'distance': 63,\n",
       "         'polyline': '113.352769,23.117335;113.352148,23.117313',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.352148,23.117313;113.351836,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 12,\n",
       "         'polyline': '113.351836,23.117309;113.351719,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351719,23.117305;113.351528,23.117296;113.351337,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 15,\n",
       "         'polyline': '113.351337,23.117305;113.351263,23.117296;113.351185,23.117296',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351185,23.117296;113.350799,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 93,\n",
       "         'polyline': '113.350799,23.117292;113.349887,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 71,\n",
       "         'polyline': '113.349887,23.117283;113.349193,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 9,\n",
       "         'polyline': '113.349193,23.117283;113.349097,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 19,\n",
       "         'polyline': '113.349097,23.117283;113.348906,23.117274',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 34,\n",
       "         'polyline': '113.348906,23.117274;113.348568,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 25,\n",
       "         'polyline': '113.348568,23.117292;113.34832,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 54,\n",
       "         'polyline': '113.34832,23.117309;113.347791,23.117344;113.347721,23.117357',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 35,\n",
       "         'polyline': '113.347721,23.117357;113.347374,23.117396',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 28,\n",
       "         'polyline': '113.347374,23.117396;113.347096,23.117426',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 115,\n",
       "         'polyline': '113.347096,23.117426;113.346862,23.117444;113.345981,23.117535',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 117,\n",
       "         'polyline': '113.345981,23.117535;113.344839,23.117609',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 17,\n",
       "         'polyline': '113.344839,23.117609;113.344674,23.117622',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 55,\n",
       "         'polyline': '113.344674,23.117622;113.344132,23.117648',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 37,\n",
       "         'polyline': '113.344132,23.117648;113.343767,23.117661',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.343767,23.117661;113.343459,23.117682;113.343277,23.1177',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.343277,23.1177;113.342969,23.117713',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 76,\n",
       "         'polyline': '113.342969,23.117713;113.342222,23.117765',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 178,\n",
       "         'polyline': '113.342222,23.117765;113.341411,23.117817;113.340495,23.117921',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 19,\n",
       "         'polyline': '113.340495,23.117921;113.340304,23.117934',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 56,\n",
       "         'polyline': '113.340304,23.117934;113.339748,23.11799',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 63,\n",
       "         'polyline': '113.339748,23.11799;113.339132,23.118047',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 30,\n",
       "         'polyline': '113.339132,23.118047;113.338837,23.118077',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 386,\n",
       "         'polyline': '113.338837,23.118077;113.335078,23.118381;113.335039,23.118138',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '右转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 298,\n",
       "       'duration': 47,\n",
       "       'instruction': '沿海明路向东南行驶298米右转',\n",
       "       'orientation': '东南',\n",
       "       'polyline': '113.335039,23.118138;113.335056,23.118016;113.335056,23.117908;113.335035,23.117804;113.335017,23.117426;113.334996,23.117205;113.334961,23.117105;113.334909,23.116957;113.334909,23.116866;113.334931,23.116771;113.334961,23.116745;113.335,23.116701;113.335104,23.116658;113.335495,23.116649;113.336306,23.116632',\n",
       "       'road': '海明路',\n",
       "       'tmcs': [{'distance': 79,\n",
       "         'polyline': '113.335039,23.118138;113.335056,23.118016;113.335056,23.117908;113.335035,23.117804;113.335017,23.117426',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 136,\n",
       "         'polyline': '113.335017,23.117426;113.334996,23.117205;113.334961,23.117105;113.334909,23.116957;113.334909,23.116866;113.334931,23.116771;113.334961,23.116745;113.335,23.116701;113.335104,23.116658;113.335495,23.116649',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 83,\n",
       "         'polyline': '113.335495,23.116649;113.336306,23.116632',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '',\n",
       "       'assistant_action': '到达目的地',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 122,\n",
       "       'duration': 29,\n",
       "       'instruction': '沿海文路向南行驶122米到达目的地',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.336306,23.116632;113.336319,23.116111;113.336359,23.11559;113.336363,23.115521',\n",
       "       'road': '海文路',\n",
       "       'tmcs': [{'distance': 57,\n",
       "         'polyline': '113.336306,23.116632;113.336319,23.116111',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 57,\n",
       "         'polyline': '113.336319,23.116111;113.336359,23.11559',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 8,\n",
       "         'polyline': '113.336359,23.11559;113.336363,23.115521',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0}],\n",
       "     'strategy': '避免拥堵',\n",
       "     'toll_distance': 1992,\n",
       "     'tolls': 2,\n",
       "     'traffic_lights': 5},\n",
       "    {'distance': 4608,\n",
       "     'duration': 568,\n",
       "     'restriction': 0,\n",
       "     'steps': [{'action': '向右前方行驶',\n",
       "       'assistant_action': '进入匝道',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 1622,\n",
       "       'duration': 84,\n",
       "       'instruction': '沿中山立交桥途径华南大桥、S4华南快速向南行驶1.6千米向右前方行驶进入匝道',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503;113.351515,23.129436;113.35158,23.128824;113.351641,23.12829;113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059;113.352174,23.119874;113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418;113.352075,23.116992',\n",
       "       'road': '中山立交桥',\n",
       "       'tmcs': [{'distance': 126,\n",
       "         'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 186,\n",
       "         'polyline': '113.351406,23.130503;113.351515,23.129436;113.35158,23.128824',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 132,\n",
       "         'polyline': '113.35158,23.128824;113.351641,23.12829;113.351701,23.127635',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 781,\n",
       "         'polyline': '113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 79,\n",
       "         'polyline': '113.352148,23.12059;113.352174,23.119874',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 65,\n",
       "         'polyline': '113.352174,23.119874;113.352179,23.119275',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 206,\n",
       "         'polyline': '113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 47,\n",
       "         'polyline': '113.352096,23.117418;113.352075,23.116992',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 1622,\n",
       "       'toll_road': '中山立交桥',\n",
       "       'tolls': 0},\n",
       "      {'action': '减速行驶',\n",
       "       'assistant_action': '到达收费站',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 370,\n",
       "       'duration': 52,\n",
       "       'instruction': '沿S4华南快速出口向东南行驶370米减速行驶到达收费站',\n",
       "       'orientation': '东南',\n",
       "       'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 139,\n",
       "         'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 170,\n",
       "         'polyline': '113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 61,\n",
       "         'polyline': '113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 370,\n",
       "       'toll_road': 'S4华南快速出口',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None}],\n",
       "       'distance': 53,\n",
       "       'duration': 42,\n",
       "       'instruction': '沿S4华南快速出口向北行驶53米左转',\n",
       "       'orientation': '北',\n",
       "       'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 53,\n",
       "         'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 504,\n",
       "       'duration': 96,\n",
       "       'instruction': '沿花城大道向西行驶504米左转',\n",
       "       'orientation': '西',\n",
       "       'polyline': '113.352769,23.117335;113.352148,23.117313;113.351836,23.117309;113.351719,23.117305;113.351528,23.117296;113.351337,23.117305;113.351263,23.117296;113.351185,23.117296;113.350799,23.117292;113.349887,23.117283;113.349193,23.117283;113.349097,23.117283;113.348906,23.117274;113.348568,23.117292;113.34832,23.117309;113.347791,23.117344;113.347687,23.117131',\n",
       "       'road': '花城大道',\n",
       "       'tmcs': [{'distance': 63,\n",
       "         'polyline': '113.352769,23.117335;113.352148,23.117313',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.352148,23.117313;113.351836,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 12,\n",
       "         'polyline': '113.351836,23.117309;113.351719,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351719,23.117305;113.351528,23.117296;113.351337,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 15,\n",
       "         'polyline': '113.351337,23.117305;113.351263,23.117296;113.351185,23.117296',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351185,23.117296;113.350799,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 93,\n",
       "         'polyline': '113.350799,23.117292;113.349887,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 71,\n",
       "         'polyline': '113.349887,23.117283;113.349193,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 9,\n",
       "         'polyline': '113.349193,23.117283;113.349097,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 19,\n",
       "         'polyline': '113.349097,23.117283;113.348906,23.117274',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 34,\n",
       "         'polyline': '113.348906,23.117274;113.348568,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 25,\n",
       "         'polyline': '113.348568,23.117292;113.34832,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 54,\n",
       "         'polyline': '113.34832,23.117309;113.347791,23.117344;113.347687,23.117131',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '向右前方行驶',\n",
       "       'assistant_action': '进入右转专用道',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 600,\n",
       "       'duration': 76,\n",
       "       'instruction': '沿平江路向南行驶600米向右前方行驶进入右转专用道',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.347687,23.117131;113.347665,23.116819;113.347639,23.116476;113.347617,23.116189;113.347604,23.115998;113.347587,23.115838;113.347569,23.115612;113.347543,23.115234;113.347478,23.11431;113.347413,23.113485;113.347322,23.112257;113.347292,23.111706',\n",
       "       'road': '平江路',\n",
       "       'tmcs': [{'distance': 34,\n",
       "         'polyline': '113.347687,23.117131;113.347665,23.116819',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 38,\n",
       "         'polyline': '113.347665,23.116819;113.347639,23.116476',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 32,\n",
       "         'polyline': '113.347639,23.116476;113.347617,23.116189',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 20,\n",
       "         'polyline': '113.347617,23.116189;113.347604,23.115998',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 18,\n",
       "         'polyline': '113.347604,23.115998;113.347587,23.115838',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 25,\n",
       "         'polyline': '113.347587,23.115838;113.347569,23.115612',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 42,\n",
       "         'polyline': '113.347569,23.115612;113.347543,23.115234',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 102,\n",
       "         'polyline': '113.347543,23.115234;113.347478,23.11431',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 92,\n",
       "         'polyline': '113.347478,23.11431;113.347413,23.113485',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 136,\n",
       "         'polyline': '113.347413,23.113485;113.347322,23.112257',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 61,\n",
       "         'polyline': '113.347322,23.112257;113.347292,23.111706',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '右转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None}],\n",
       "       'distance': 54,\n",
       "       'duration': 12,\n",
       "       'instruction': '沿临江大道向西南行驶54米右转',\n",
       "       'orientation': '西南',\n",
       "       'polyline': '113.347292,23.111706;113.347222,23.111589;113.347157,23.111532;113.347018,23.111467;113.346879,23.111428',\n",
       "       'road': '临江大道',\n",
       "       'tmcs': [{'distance': 54,\n",
       "         'polyline': '113.347292,23.111706;113.347222,23.111589;113.347157,23.111532;113.347018,23.111467;113.346879,23.111428',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '右转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 953,\n",
       "       'duration': 91,\n",
       "       'instruction': '沿临江大道向西行驶953米右转',\n",
       "       'orientation': '西',\n",
       "       'polyline': '113.346879,23.111428;113.346385,23.111493;113.345716,23.111567;113.344245,23.111758;113.34395,23.111788;113.343364,23.11184;113.343181,23.111871;113.34276,23.111927;113.342504,23.11197;113.342066,23.112031;113.341137,23.11217;113.340677,23.112227;113.338741,23.11247;113.338372,23.112513;113.337969,23.112561;113.336602,23.112734',\n",
       "       'road': '临江大道',\n",
       "       'tmcs': [{'distance': 51,\n",
       "         'polyline': '113.346879,23.111428;113.346385,23.111493',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 68,\n",
       "         'polyline': '113.346385,23.111493;113.345716,23.111567',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 152,\n",
       "         'polyline': '113.345716,23.111567;113.344245,23.111758',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 30,\n",
       "         'polyline': '113.344245,23.111758;113.34395,23.111788',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 60,\n",
       "         'polyline': '113.34395,23.111788;113.343364,23.11184;113.343181,23.111871',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 44,\n",
       "         'polyline': '113.343181,23.111871;113.34276,23.111927',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 26,\n",
       "         'polyline': '113.34276,23.111927;113.342504,23.11197',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 45,\n",
       "         'polyline': '113.342504,23.11197;113.342066,23.112031',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 96,\n",
       "         'polyline': '113.342066,23.112031;113.341137,23.11217;113.340677,23.112227',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 199,\n",
       "         'polyline': '113.340677,23.112227;113.338741,23.11247;113.338372,23.112513',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 41,\n",
       "         'polyline': '113.338372,23.112513;113.337969,23.112561',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 141,\n",
       "         'polyline': '113.337969,23.112561;113.336602,23.112734',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转调头',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 373,\n",
       "       'duration': 94,\n",
       "       'instruction': '沿海文路向北行驶373米左转调头',\n",
       "       'orientation': '北',\n",
       "       'polyline': '113.336602,23.112734;113.33658,23.113177;113.336558,23.113511;113.336532,23.114054;113.336519,23.114271;113.336497,23.114674;113.336489,23.115234;113.336484,23.11549;113.336467,23.116128',\n",
       "       'road': '海文路',\n",
       "       'tmcs': [{'distance': 49,\n",
       "         'polyline': '113.336602,23.112734;113.33658,23.113177',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 37,\n",
       "         'polyline': '113.33658,23.113177;113.336558,23.113511',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 59,\n",
       "         'polyline': '113.336558,23.113511;113.336532,23.114054',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 24,\n",
       "         'polyline': '113.336532,23.114054;113.336519,23.114271',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 44,\n",
       "         'polyline': '113.336519,23.114271;113.336497,23.114674',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 90,\n",
       "         'polyline': '113.336497,23.114674;113.336489,23.115234;113.336484,23.11549',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 70,\n",
       "         'polyline': '113.336484,23.11549;113.336467,23.116128',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '',\n",
       "       'assistant_action': '到达目的地',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 79,\n",
       "       'duration': 21,\n",
       "       'instruction': '沿海文路向南行驶79米到达目的地',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.336467,23.116128;113.336319,23.116111;113.336359,23.11559;113.336363,23.115521',\n",
       "       'road': '海文路',\n",
       "       'tmcs': [{'distance': 14,\n",
       "         'polyline': '113.336467,23.116128;113.336319,23.116111',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 57,\n",
       "         'polyline': '113.336319,23.116111;113.336359,23.11559',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 8,\n",
       "         'polyline': '113.336359,23.11559;113.336363,23.115521',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0}],\n",
       "     'strategy': '避免拥堵',\n",
       "     'toll_distance': 1992,\n",
       "     'tolls': 2,\n",
       "     'traffic_lights': 7},\n",
       "    {'distance': 4620,\n",
       "     'duration': 604,\n",
       "     'restriction': 0,\n",
       "     'steps': [{'action': '向右前方行驶',\n",
       "       'assistant_action': '进入匝道',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 1622,\n",
       "       'duration': 84,\n",
       "       'instruction': '沿中山立交桥途径华南大桥、S4华南快速向南行驶1.6千米向右前方行驶进入匝道',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503;113.351515,23.129436;113.35158,23.128824;113.351641,23.12829;113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059;113.352174,23.119874;113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418;113.352075,23.116992',\n",
       "       'road': '中山立交桥',\n",
       "       'tmcs': [{'distance': 126,\n",
       "         'polyline': '113.351137,23.131597;113.351233,23.130924;113.351289,23.130677;113.351315,23.130616;113.351406,23.130503',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 186,\n",
       "         'polyline': '113.351406,23.130503;113.351515,23.129436;113.35158,23.128824',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 132,\n",
       "         'polyline': '113.35158,23.128824;113.351641,23.12829;113.351701,23.127635',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 781,\n",
       "         'polyline': '113.351701,23.127635;113.351749,23.127018;113.351797,23.12622;113.35184,23.12536;113.35204,23.122405;113.352135,23.120994;113.352148,23.12059',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 79,\n",
       "         'polyline': '113.352148,23.12059;113.352174,23.119874',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 65,\n",
       "         'polyline': '113.352174,23.119874;113.352179,23.119275',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 206,\n",
       "         'polyline': '113.352179,23.119275;113.352166,23.118381;113.352153,23.117934;113.352109,23.117656;113.352096,23.117418',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 47,\n",
       "         'polyline': '113.352096,23.117418;113.352075,23.116992',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 1622,\n",
       "       'toll_road': '中山立交桥',\n",
       "       'tolls': 0},\n",
       "      {'action': '减速行驶',\n",
       "       'assistant_action': '到达收费站',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 370,\n",
       "       'duration': 52,\n",
       "       'instruction': '沿S4华南快速出口向东南行驶370米减速行驶到达收费站',\n",
       "       'orientation': '东南',\n",
       "       'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 139,\n",
       "         'polyline': '113.352075,23.116992;113.352005,23.116888;113.351949,23.116706;113.35168,23.11615;113.351641,23.116042;113.351632,23.115968;113.351649,23.11582',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 170,\n",
       "         'polyline': '113.351649,23.11582;113.351697,23.115703;113.35174,23.115647;113.351801,23.115582;113.351892,23.115521;113.351984,23.115477;113.352088,23.115451;113.352287,23.115456;113.352383,23.11549;113.352474,23.115534;113.352552,23.115599;113.352643,23.115694;113.352708,23.115794;113.352817,23.116016',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 61,\n",
       "         'polyline': '113.352817,23.116016;113.352843,23.116107;113.352856,23.116237;113.352856,23.116567',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 370,\n",
       "       'toll_road': 'S4华南快速出口',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None}],\n",
       "       'distance': 53,\n",
       "       'duration': 42,\n",
       "       'instruction': '沿S4华南快速出口向北行驶53米左转',\n",
       "       'orientation': '北',\n",
       "       'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "       'road': 'S4华南快速出口',\n",
       "       'tmcs': [{'distance': 53,\n",
       "         'polyline': '113.352856,23.116567;113.352808,23.117044;113.352769,23.117335',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 939,\n",
       "       'duration': 151,\n",
       "       'instruction': '沿花城大道向西行驶939米左转',\n",
       "       'orientation': '西',\n",
       "       'polyline': '113.352769,23.117335;113.352148,23.117313;113.351836,23.117309;113.351719,23.117305;113.351528,23.117296;113.351337,23.117305;113.351263,23.117296;113.351185,23.117296;113.350799,23.117292;113.349887,23.117283;113.349193,23.117283;113.349097,23.117283;113.348906,23.117274;113.348568,23.117292;113.34832,23.117309;113.347791,23.117344;113.347721,23.117357;113.347374,23.117396;113.347096,23.117426;113.346862,23.117444;113.345981,23.117535;113.344839,23.117609;113.344674,23.117622;113.344132,23.117648;113.343767,23.117661;113.343459,23.117682;113.343268,23.117422',\n",
       "       'road': '花城大道',\n",
       "       'tmcs': [{'distance': 63,\n",
       "         'polyline': '113.352769,23.117335;113.352148,23.117313',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.352148,23.117313;113.351836,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 12,\n",
       "         'polyline': '113.351836,23.117309;113.351719,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351719,23.117305;113.351528,23.117296;113.351337,23.117305',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 15,\n",
       "         'polyline': '113.351337,23.117305;113.351263,23.117296;113.351185,23.117296',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 39,\n",
       "         'polyline': '113.351185,23.117296;113.350799,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 93,\n",
       "         'polyline': '113.350799,23.117292;113.349887,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 71,\n",
       "         'polyline': '113.349887,23.117283;113.349193,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 9,\n",
       "         'polyline': '113.349193,23.117283;113.349097,23.117283',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 19,\n",
       "         'polyline': '113.349097,23.117283;113.348906,23.117274',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 34,\n",
       "         'polyline': '113.348906,23.117274;113.348568,23.117292',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 25,\n",
       "         'polyline': '113.348568,23.117292;113.34832,23.117309',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 54,\n",
       "         'polyline': '113.34832,23.117309;113.347791,23.117344;113.347721,23.117357',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 35,\n",
       "         'polyline': '113.347721,23.117357;113.347374,23.117396',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 28,\n",
       "         'polyline': '113.347374,23.117396;113.347096,23.117426',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 115,\n",
       "         'polyline': '113.347096,23.117426;113.346862,23.117444;113.345981,23.117535',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 117,\n",
       "         'polyline': '113.345981,23.117535;113.344839,23.117609',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 17,\n",
       "         'polyline': '113.344839,23.117609;113.344674,23.117622',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 55,\n",
       "         'polyline': '113.344674,23.117622;113.344132,23.117648',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 37,\n",
       "         'polyline': '113.344132,23.117648;113.343767,23.117661',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 31,\n",
       "         'polyline': '113.343767,23.117661;113.343459,23.117682;113.343268,23.117422',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '向右前方行驶',\n",
       "       'assistant_action': '进入右转专用道',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 575,\n",
       "       'duration': 93,\n",
       "       'instruction': '沿马场路向南行驶575米向右前方行驶进入右转专用道',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.343268,23.117422;113.343264,23.117179;113.343268,23.11701;113.34326,23.11599;113.343242,23.115234;113.343229,23.114661;113.343216,23.113763;113.343203,23.113307;113.343194,23.112205',\n",
       "       'road': '马场路',\n",
       "       'tmcs': [{'distance': 27,\n",
       "         'polyline': '113.343268,23.117422;113.343264,23.117179',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 18,\n",
       "         'polyline': '113.343264,23.117179;113.343268,23.11701',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 112,\n",
       "         'polyline': '113.343268,23.11701;113.34326,23.11599',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 146,\n",
       "         'polyline': '113.34326,23.11599;113.343242,23.115234;113.343229,23.114661',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 100,\n",
       "         'polyline': '113.343229,23.114661;113.343216,23.113763',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 50,\n",
       "         'polyline': '113.343216,23.113763;113.343203,23.113307',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 122,\n",
       "         'polyline': '113.343203,23.113307;113.343194,23.112205',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '右转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None}],\n",
       "       'distance': 61,\n",
       "       'duration': 11,\n",
       "       'instruction': '沿临江大道向西南行驶61米右转',\n",
       "       'orientation': '西南',\n",
       "       'polyline': '113.343194,23.112205;113.343138,23.112062;113.343108,23.112014;113.343047,23.11197;113.34276,23.111927',\n",
       "       'road': '临江大道',\n",
       "       'tmcs': [{'distance': 61,\n",
       "         'polyline': '113.343194,23.112205;113.343138,23.112062;113.343108,23.112014;113.343047,23.11197;113.34276,23.111927',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '右转',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 548,\n",
       "       'duration': 56,\n",
       "       'instruction': '沿临江大道向西行驶548米右转',\n",
       "       'orientation': '西',\n",
       "       'polyline': '113.34276,23.111927;113.342504,23.11197;113.342066,23.112031;113.341137,23.11217;113.340677,23.112227;113.338741,23.11247;113.338372,23.112513;113.337969,23.112561;113.336602,23.112734',\n",
       "       'road': '临江大道',\n",
       "       'tmcs': [{'distance': 26,\n",
       "         'polyline': '113.34276,23.111927;113.342504,23.11197',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 45,\n",
       "         'polyline': '113.342504,23.11197;113.342066,23.112031',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 96,\n",
       "         'polyline': '113.342066,23.112031;113.341137,23.11217;113.340677,23.112227',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 199,\n",
       "         'polyline': '113.340677,23.112227;113.338741,23.11247;113.338372,23.112513',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 41,\n",
       "         'polyline': '113.338372,23.112513;113.337969,23.112561',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 141,\n",
       "         'polyline': '113.337969,23.112561;113.336602,23.112734',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '左转调头',\n",
       "       'assistant_action': '',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 373,\n",
       "       'duration': 94,\n",
       "       'instruction': '沿海文路向北行驶373米左转调头',\n",
       "       'orientation': '北',\n",
       "       'polyline': '113.336602,23.112734;113.33658,23.113177;113.336558,23.113511;113.336532,23.114054;113.336519,23.114271;113.336497,23.114674;113.336489,23.115234;113.336484,23.11549;113.336467,23.116128',\n",
       "       'road': '海文路',\n",
       "       'tmcs': [{'distance': 49,\n",
       "         'polyline': '113.336602,23.112734;113.33658,23.113177',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 37,\n",
       "         'polyline': '113.33658,23.113177;113.336558,23.113511',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 59,\n",
       "         'polyline': '113.336558,23.113511;113.336532,23.114054',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 24,\n",
       "         'polyline': '113.336532,23.114054;113.336519,23.114271',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 44,\n",
       "         'polyline': '113.336519,23.114271;113.336497,23.114674',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 90,\n",
       "         'polyline': '113.336497,23.114674;113.336489,23.115234;113.336484,23.11549',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 70,\n",
       "         'polyline': '113.336484,23.11549;113.336467,23.116128',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0},\n",
       "      {'action': '',\n",
       "       'assistant_action': '到达目的地',\n",
       "       'cities': [{'adcode': '440106',\n",
       "         'citycode': None,\n",
       "         'districts': [],\n",
       "         'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None},\n",
       "        {'adcode': '440106', 'citycode': None, 'districts': [], 'name': None}],\n",
       "       'distance': 79,\n",
       "       'duration': 21,\n",
       "       'instruction': '沿海文路向南行驶79米到达目的地',\n",
       "       'orientation': '南',\n",
       "       'polyline': '113.336467,23.116128;113.336319,23.116111;113.336359,23.11559;113.336363,23.115521',\n",
       "       'road': '海文路',\n",
       "       'tmcs': [{'distance': 14,\n",
       "         'polyline': '113.336467,23.116128;113.336319,23.116111',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 57,\n",
       "         'polyline': '113.336319,23.116111;113.336359,23.11559',\n",
       "         'status': '畅通'},\n",
       "        {'distance': 8,\n",
       "         'polyline': '113.336359,23.11559;113.336363,23.115521',\n",
       "         'status': '畅通'}],\n",
       "       'toll_distance': 0,\n",
       "       'toll_road': '',\n",
       "       'tolls': 0}],\n",
       "     'strategy': '避免拥堵',\n",
       "     'toll_distance': 1992,\n",
       "     'tolls': 2,\n",
       "     'traffic_lights': 9}]},\n",
       "  'count': 3},\n",
       " 'errcode': 0,\n",
       " 'errdetail': None,\n",
       " 'errmsg': 'OK',\n",
       " 'ext': None}"
      ]
     },
     "execution_count": 130,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "truck(key,geocode(key,\"广东省广州市暨南大学\"),geocode(key,'广东省广州市天河区猎德村'),1)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 行政区域查询\n",
    "\n",
    "> * 1、行政区域查询是一类简单的HTTP接口，根据用户输入的搜索条件可以帮助用户快速的查找特定的行政区域信息。例如：中国>山东省>济南市>历下区>舜华路街道（国>省>市>区>街道）。\n",
    "> * 2、URL：https://restapi.amap.com/v3/config/district?parameters\n",
    "> * 3、[行政区域查询文档](https://lbs.amap.com/api/webservice/guide/api/district)\n",
    "> * 4、请求参数（必要值）：key"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [],
   "source": [
    "def district(key,keywords,subdistrict=1,page=1,offset=20,extensions='base',filter=None,callback=None,output=\"JSON\"):\n",
    "    \"\"\"行政区域规划\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/config/district?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"keywords\":keywords,   \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "district(key,\"广州\")\n",
    "r"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 搜索POI\n",
    "\n",
    "> * 1、产品介绍：搜索服务API是一类简单的HTTP接口，提供多种查询POI信息的能力，其中包括关键字搜索、周边搜索、多边形搜索、ID查询四种筛选机制。\n",
    "> * 2、关键词搜索\n",
    "> * 3、周边搜索\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 关键词搜索 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/place/text?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、[关键词搜索文档](https://lbs.amap.com/api/webservice/guide/api/search#text)\n",
    "> * 4、参数：必选：key；keywords（规则： 多个关键字用“|”分割）；types（POI分类编码）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [],
   "source": [
    "def search(key,keywords,types,city=None,citylimit='false',children=0,offset=20,page=1,extensions='base',callback=None,output=\"JSON\"):\n",
    "    \"\"\"关键词搜索\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"keywords\":keywords,\n",
    "     \"types\":types,   \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '143',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': [],\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5e1e7f9df0bbaa2f76013481c384eb21'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e724d343d4ecb00ad23710ef9404a39a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2480c49360ce1f7259089fd767b15bd5'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '茶故里',\n",
       "   'location': '113.399526,23.118659',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFI0QU59'},\n",
       "  {'parent': 'B00140NYFS',\n",
       "   'address': '大罗塘银平路121号番禺博物馆一楼',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/97a705e23e3787d9f605bd485fa92e54'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/19cb4364399d2784abbbc13f5ebcd09b'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1d68c70b489ebfb70a0d9c5b16ff024f'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '番禺区',\n",
       "   'name': '冼星海纪念馆',\n",
       "   'location': '113.345097,22.952369',\n",
       "   'tel': '020-84668662',\n",
       "   'shopid': [],\n",
       "   'id': 'B00141V02F'},\n",
       "  {'parent': [],\n",
       "   'address': '新港西路135中山大学内',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/12c1f78e7b0f84be5ae1d2b4b6769188'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/057f27bf6e14de977e8343154dc3b81d'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/52c7c8a9af9cc2f1970f11a367dca99d'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '海珠区',\n",
       "   'name': '孙中山纪念馆',\n",
       "   'location': '113.297012,23.096370',\n",
       "   'tel': '020-84113121',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140US8P'},\n",
       "  {'parent': [],\n",
       "   'address': '中山四路42号(近地铁农讲所站)',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.3', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c5d674a9beaacf94ee182a517531b46e'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d9b278fdd8d37cfc8c544f5c5de40e50'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c1c60dc50bc078e2fc734462119ccaff'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '毛泽东同志主办农民运动讲习所旧址纪念馆',\n",
       "   'location': '113.276583,23.126979',\n",
       "   'tel': '020-83333936;020-83873066',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140BPQO'},\n",
       "  {'parent': 'B00141K28M',\n",
       "   'address': '岛金洲北路563号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '辛亥革命纪念馆',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8014a99adfdaf1d93930d98fd81bcba8'},\n",
       "    {'provider': [],\n",
       "     'title': '辛亥革命纪念馆',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/62c39a9a8e4a5e744de075f03e1ef838'},\n",
       "    {'provider': [],\n",
       "     'title': '辛亥革命纪念馆',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/615102933794659c85fee5366fe9e552'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '黄埔区',\n",
       "   'name': '辛亥革命纪念馆',\n",
       "   'location': '113.420355,23.072057',\n",
       "   'tel': '020-82502473',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140WGT4'},\n",
       "  {'parent': [],\n",
       "   'address': '东风中路299号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '10.00', 'rating': '4.5', 'ticket_ordering': '1'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8eaa2cd82346cc3ac01ddeb55151de39'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8a57ba8612a6404b07ccaea37a31e9b0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/11403ea264adc43bb600820a475e430c'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '中山纪念堂',\n",
       "   'location': '113.264692,23.13286',\n",
       "   'tel': '020-83567966;020-83561631',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFHC'},\n",
       "  {'parent': 'B00140C5YX',\n",
       "   'address': '麓湖路',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.4', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/591f8d3d191ce15073c8aa74a7c651fa'},\n",
       "    {'provider': [],\n",
       "     'title': '冼星海墓',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/94c4a4464d3a5017b78128068a046fae'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/eeaa61405800f7f5b95c7e8f038eee5e'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '越秀区',\n",
       "   'name': '麓湖-星海园',\n",
       "   'location': '113.284482,23.150855',\n",
       "   'tel': '020-83509376',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UERI'},\n",
       "  {'parent': [],\n",
       "   'address': '滨江西路232号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.1', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆|科教文化服务;展览馆;展览馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d3b1af8fa2c10226ce172969dbfc6b6a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/379f4c6fb2b8feebaa0a8c6041e7d622'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1aacf8dec7d1c3e68b6cb4cddf168c57'}],\n",
       "   'typecode': '110204|140200',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '海珠区',\n",
       "   'name': '第一次全国劳动大会旧址',\n",
       "   'location': '113.264177,23.110078',\n",
       "   'tel': '020-84411777',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140N7OD'},\n",
       "  {'parent': [],\n",
       "   'address': '广园中路34号(近地铁三元里站)',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0606b7d4b04a4d872c42ee4d3f0fe399'},\n",
       "    {'provider': [],\n",
       "     'title': '三元古庙',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e93f0c00ee695ddaeae93964ea27dd02'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7d39f92d5c95021e36cde88741bee0d9'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '白云区',\n",
       "   'name': '三元里人民抗英斗争纪念馆',\n",
       "   'location': '113.260259,23.160665',\n",
       "   'tel': '020-86578325;020-83550627',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFIZ'},\n",
       "  {'parent': [],\n",
       "   'address': [],\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.6', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1c744d3ced3043ccf4ae0cbaa5727052'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/95144ef85acc1cf9e4f50aa0d91f44af'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/df13ac9a46b57f811bba4c60c65ec398'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '鲁迅纪念园',\n",
       "   'location': '113.286178,23.120029',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFXL'},\n",
       "  {'parent': 'B0FFHBNB0H',\n",
       "   'address': '大沙头二马路6号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.4', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3d050b704166e5327c4e78e64b0f027e'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ac18778472f8d1ce6d3e4140fa73a615'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bd86db2eebf68b93b10320a53953ec59'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '越秀区',\n",
       "   'name': '广九铁路纪念园',\n",
       "   'location': '113.281948,23.116197',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFHRD15Q'},\n",
       "  {'parent': [],\n",
       "   'address': '白云路7号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7dd1e7037970d75ac86209fe98eede7a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/74eb9c9d98f3db346af1ae46bfbe6451'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1926effcfdf418c509244231dc717cd2'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '白云楼鲁迅故居',\n",
       "   'location': '113.280378,23.116451',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFQJ'},\n",
       "  {'parent': [],\n",
       "   'address': '丛桂路甫西街1210号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f5635dfbfb07cfa41e2c7f894ba5420a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/88ce81152da4444bf4dc00c829ede5e0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/607899186d87c5245a829ae4aceb41e4'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '荔湾区',\n",
       "   'name': '詹天佑故居',\n",
       "   'location': '113.239574,23.113135',\n",
       "   'tel': '020-81377281',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFCN'},\n",
       "  {'parent': [],\n",
       "   'address': '三元里大道35号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.4', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/468b15a95361176847979c22d91faca1'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1a6d8e8134a543fba022d2617634d2af'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b819b7a64053fff97756bcbd86d79086'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '白云区',\n",
       "   'name': '三元里抗英斗争纪念公园',\n",
       "   'location': '113.260537,23.154458',\n",
       "   'tel': '020-86574769',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140B5Q9'},\n",
       "  {'parent': 'B0FFF06EOH',\n",
       "   'address': '沙湾镇安宁中街',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f713e44c9faf90a81ea8c9199e7b73fa'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7239d980e4304bcfd8bc45685d0be3f0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d5def7913b82c70d41ffe661cd2463ad'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '番禺区',\n",
       "   'name': '何炳林院士纪念馆',\n",
       "   'location': '113.336586,22.904272',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00141JD9J'},\n",
       "  {'parent': 'B0FFLA9WFU',\n",
       "   'address': '中山四路长兴里3号(玉鸣轩后面)',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f0b04e310d8801c484ec581e749cd11d'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/305cfed30f464500aab5a08d67a3e7c5'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d0f5d045b188c2d5494bedea3e77da2e'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': '301',\n",
       "   'adname': '越秀区',\n",
       "   'name': '万木草堂陈列馆',\n",
       "   'location': '113.271804,23.125353',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH8UPDN'},\n",
       "  {'parent': [],\n",
       "   'address': '起义路200-1号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2688e1f76626e3fa845dfcae0cffcf20'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/638047b4387f21ee831103002741253c'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02cef2bc52a8ac11cb7f69b51c6e63dc'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '广州起义纪念馆',\n",
       "   'location': '113.264263,23.124261',\n",
       "   'tel': '020-83341321',\n",
       "   'shopid': [],\n",
       "   'id': 'B001402B4C'},\n",
       "  {'parent': [],\n",
       "   'address': '越秀南路89号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5183c51f50a4a60cf7b4ca8bba4c3060'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fc8b809f1788e73599d30fe07be3c546'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3ad239ee2cd7448ab997993212cfe380'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '越秀区',\n",
       "   'name': '中华全国总工会旧址',\n",
       "   'location': '113.277848,23.119338',\n",
       "   'tel': '020-83832587',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140257E'},\n",
       "  {'parent': [],\n",
       "   'address': '东桥东路90号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '3.5', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b232b8b96e0b04c83ac2c3c1da4dd333'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/637c21bff89692d2692d6af3d35470ba'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d7ffba4d3a75fbd1f4e0cbe337ede8a0'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '增城区',\n",
       "   'name': '增城革命烈士纪念碑',\n",
       "   'location': '113.849672,23.282436',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UF59'},\n",
       "  {'parent': [],\n",
       "   'address': '宝岗大道龙涎里2号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '5.00', 'rating': '4.0', 'ticket_ordering': '0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ca83de3f7c606cbcb8779cbf1e7b7314'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b23b5a48aadccbd88049e8c956fa0f0c'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c5ebbd9b17e5ae5aaf613f0d08b21750'}],\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '海珠区',\n",
       "   'name': '邓世昌纪念馆',\n",
       "   'location': '113.260451,23.101201',\n",
       "   'tel': '020-34384021',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140BNHJ'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 44,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "search(key,\"广州\",110204)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 周边搜索  \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/place/around?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、[周边搜索文档](https://lbs.amap.com/api/webservice/guide/api/search#around)\n",
    "> * 4、参数：必选：key；location（经度和纬度用\",\"分割，经度在前，纬度在后，经纬度小数点后不得超过6位）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [],
   "source": [
    "def searcharound(key,location,keywords=None,types=None,city=None,radius=3000,sortrule=\"distance\",offset=20,page=1,extensions='base',callback=None,output=\"JSON\"):\n",
    "    \"\"\"周边搜索\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"location\":location,  \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '900',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '(在建)13号线二期',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '马场(地铁站)',\n",
       "   'location': '113.350702,23.125362',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10994097'},\n",
       "  {'parent': [],\n",
       "   'address': '翠湖街道2-13号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3143df90ecd8fd479c6188b46cbf5051'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2ae2080bd3abf00766eba3a305097493'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fe2e205d938fa55cdfa79e0e4c430ba9'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '翠湖山庄',\n",
       "   'location': '113.353124,23.127602',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFAP'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)11号线内环;(在建)11号线外环',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '华景路(地铁站)',\n",
       "   'location': '113.358111,23.134704',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10850272'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)13号线二期',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '白马岗(地铁站)',\n",
       "   'location': '113.355084,23.124653',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10994099'},\n",
       "  {'parent': [],\n",
       "   'address': '东站路1号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;火车站;火车站',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/96e0a1abd535a35d466f3ea377fceb3d'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/764ad172016ab981020c8fd5999965c9'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3ba313ddb8ac43e51c481547d1c38650'}],\n",
       "   'typecode': '150200',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '广州东站',\n",
       "   'location': '113.324981,23.150597',\n",
       "   'tel': '020-87146222',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140TY64'},\n",
       "  {'parent': [],\n",
       "   'address': '黄埔大道西翠湖街15号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '力迅领筑',\n",
       "   'location': '113.353203,23.126232',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140VB5S'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)10号线;(在建)11号线内环;(在建)11号线外环;3号线',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '华师(地铁站)',\n",
       "   'location': '113.345330,23.140290',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10014714'},\n",
       "  {'parent': [],\n",
       "   'address': '中山大道西61-65',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4ced43494dcbab818c1b7ec9cdc6cdd5'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/638c3e3ee9ae9f2764c493dfdf0a1905'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7193f023cd49c1c4388e6e2fb47448d0'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '电子科技大厦',\n",
       "   'location': '113.349082,23.136255',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140474B'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)10号线;3号线',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '岗顶(地铁站)',\n",
       "   'location': '113.339601,23.134880',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10014530'},\n",
       "  {'parent': [],\n",
       "   'address': '东方一路24号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '62747.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6131afe5f80831e6782cd490f0e9459f'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/772db044521dabc4effdf529c1b2a72c'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/67f7e9e1c685683c79796545aa64b0a8'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '华港花园',\n",
       "   'location': '113.357236,23.13262',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UFBE'},\n",
       "  {'parent': [],\n",
       "   'address': '中山大道105号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '55498.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7601333f5030e74b009028da07ac1c41'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7c4a6e50d5277cdeabef9a320421966d'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cc5d0e45506fa38ba83270619ecb7d56'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '华景新城',\n",
       "   'location': '113.361978,23.140271',\n",
       "   'tel': '020-85561080',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140U05A'},\n",
       "  {'parent': [],\n",
       "   'address': [],\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/99e18806ee35146585fbf377f2d7628a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f7f94de8c0b2849d68c5bbfc2dd7d02a'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/62ec2a495c3f5c184bb0a74327a4c521'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '天河商贸大厦',\n",
       "   'location': '113.343403,23.135495',\n",
       "   'tel': '020-87568811',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UF9Y'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)11号线内环;(在建)11号线外环;(在建)13号线二期;21号线',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '天河公园(地铁站)',\n",
       "   'location': '113.362879,23.125317',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10593232'},\n",
       "  {'parent': [],\n",
       "   'address': '中山大道西158号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '72761.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e777971fda33ee151a9eec3250a4996c'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2f72b66c539b608d964a32fbea406a4f'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9f826c057727829c6f75ea7e0b626ccf'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '东方新世界',\n",
       "   'location': '113.359858,23.132731',\n",
       "   'tel': '020-85612988;020-85611468',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140UF8Q'},\n",
       "  {'parent': [],\n",
       "   'address': '(在建)13号线二期',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '石牌南(地铁站)',\n",
       "   'location': '113.338129,23.126598',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10994107'},\n",
       "  {'parent': [],\n",
       "   'address': '五山路141号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '51514.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商住两用楼宇',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/57180889baa091fbdbee77027d6b363f'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/aa27af09f2db6a5f07fc00861cf588af'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9c1df5e7ef858a048547387788d69daa'}],\n",
       "   'typecode': '120203',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '尚德大厦',\n",
       "   'location': '113.344287,23.139682',\n",
       "   'tel': '020-38921028;020-85279109',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140NZ2E'},\n",
       "  {'parent': [],\n",
       "   'address': '天河北路900号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '28373.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/52845a54649ce3bc89dda04f15dc1f23'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/05a73b23ea1e24bd1065dcdaba498c2c'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8aa495d4c4db3eda0f5e387ceeb4b8bb'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '高科大厦',\n",
       "   'location': '113.344702,23.140475',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B00140ATE5'},\n",
       "  {'parent': [],\n",
       "   'address': '石牌西路8号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '3.0'},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6c73bb1cfab8c11f2228a0535c00f23d'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/69a7b453066053aa643d8ea378f864f7'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/73e6a99fe4da2f62a7320fee2d9157a1'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '展望数码广场',\n",
       "   'location': '113.337644,23.132578',\n",
       "   'tel': '020-62805088;020-87509988;020-38335531',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140TFFD'},\n",
       "  {'parent': [],\n",
       "   'address': '中山大道西186号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '68162.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商住两用楼宇',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9774a9a117003c23c3335a5aafa8988b'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b0f46c513c415ffe2350ee93dbdfb342'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d44099fe7ee0a72cd14538565c6fe936'}],\n",
       "   'typecode': '120203',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '东方都会广场',\n",
       "   'location': '113.361543,23.133489',\n",
       "   'tel': '020-38993811;18688882931',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140U6L1'},\n",
       "  {'parent': [],\n",
       "   'address': '海安路13号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '45029.00', 'rating': []},\n",
       "   'pname': '广东省',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '广州市',\n",
       "   'type': '商务住宅;楼宇;商住两用楼宇',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e92fe5656f63132273502a91bf4e8ca7'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cf8c59fad484c31aaa8855fbdbba8960'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b8bc9987a218522ea489de227d301d9a'}],\n",
       "   'typecode': '120203',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '天河区',\n",
       "   'name': '越秀·财富世纪广场',\n",
       "   'location': '113.340469,23.12482',\n",
       "   'tel': '020-38792338;020-85219182',\n",
       "   'shopid': [],\n",
       "   'id': 'B00140WGQH'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 69,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#此处调用了地理编码的函数\n",
    "searcharound(key,geocode(key,\"广东省广州市暨南大学\"))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 多边形搜索 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/place/polygon?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、[多边形搜索文档](https://lbs.amap.com/api/webservice/guide/api/search#polygon)\n",
    "> * 4、参数：必选：key；polygon（经度和纬度用\",\"分割，经度在前，纬度在后，坐标对用\"|\"分割。经纬度小数点后不得超过6位。）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 76,
   "metadata": {},
   "outputs": [],
   "source": [
    "def polygon(key,polygon,keywords=None,types=None,offset=20,page=1,extensions='base',callback=None,output=\"JSON\"):\n",
    "    \"\"\"多边形搜索\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/place/polygon?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"polygon\":polygon,\n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 79,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '877',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '14号线东段;15号线',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bd629cd90d4b5ff8bc10f90bd20481af'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c78a131450836b9827f8011c0c93e9c5'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2637dce8ed6dfd21aeefa83067de3d27'}],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '望京(地铁站)',\n",
       "   'location': '116.469409,39.998521',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10013356'},\n",
       "  {'parent': [],\n",
       "   'address': '14号线东段',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '交通设施服务;地铁站;地铁站',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/797d91994b74f2d0bb5ff1ef2f23e049'}],\n",
       "   'typecode': '150500',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '阜通(地铁站)',\n",
       "   'location': '116.471740,39.991699',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'BV10416592'},\n",
       "  {'parent': 'B0FFIJL0Q2',\n",
       "   'address': '来广营',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '79258.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8998f9ce7581be014d21d97d52bb8e90'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/56db5f187333b625fe702c1fd35e7538'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/12158a8fd55f6aab2d8253fe3bc45cfe'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '308',\n",
       "   'adname': '朝阳区',\n",
       "   'name': '望京南湖东园2区',\n",
       "   'location': '116.465513,39.999783',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A7W44I'},\n",
       "  {'parent': [],\n",
       "   'address': '宏昌路附近',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6b2bc6190e83c1358cd9e3e2d8d398dc'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6491da2a0da7636fa273bb696cc6dbd5'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c31b0c1d28d8a9a55843750a5fbf55b5'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '望京西园',\n",
       "   'location': '116.474395,40.004173',\n",
       "   'tel': '13581818718',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A844UJ'},\n",
       "  {'parent': [],\n",
       "   'address': '广顺北大街33号院',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/266df6d9a6bb93ecdd611655f6f23917'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/029c1f0c0dd3e23f3c47c42622518e80'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5786a4f2e98e799158aad40430473737'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '大西洋新城',\n",
       "   'location': '116.466143,39.992265',\n",
       "   'tel': '18600842882',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A7HA7I'},\n",
       "  {'parent': [],\n",
       "   'address': '望京南湖南路9号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.3'},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b1c711b28fa28ed7cc92396de752d7b2'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53a8e569a31013cc726bb719'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/792bd9d15c588f4aee3e01a65248ecc3'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '圣馨大地家园',\n",
       "   'location': '116.461976,39.995678',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A843DP'},\n",
       "  {'parent': [],\n",
       "   'address': '望京西路48-4号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '70456.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商住两用楼宇',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9019905c405bfddccc35132469b530f3'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1a710b224301434de20818a862e9ccf2'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d4148fe4f96346fc9e3ecf4b9cfbea1'}],\n",
       "   'typecode': '120203',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '金隅国际',\n",
       "   'location': '116.458365,39.985906',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A868CO'},\n",
       "  {'parent': [],\n",
       "   'address': '花家地南街',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '73855.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5bc763fb6e296d2f3a651accc5713b83'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/15d8d099cab929dc0fc3642d0278790d'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fc0337639bb5635334e0a2d3cbbf446b'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '花家地北里',\n",
       "   'location': '116.465856,39.986152',\n",
       "   'tel': '010-64752827',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A7HS1R'},\n",
       "  {'parent': [],\n",
       "   'address': '广顺北大街33号院1号楼',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53a8e55aa31013cc726bb431'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/296e21f0322c035398e299e4c49fa0d6'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/02371d0136e74b5b6da504d50ede013f'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '福码大厦',\n",
       "   'location': '116.467422,39.994876',\n",
       "   'tel': '010-84726888',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A80FUH'},\n",
       "  {'parent': [],\n",
       "   'address': '南湖南路',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d14c7dba2d01aaf4b4750064a55b5d7b'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53a8e56aa31013cc726bba61'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b05b801cbb774ffaf9cdce2e94fcd992'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '花家地西里',\n",
       "   'location': '116.460082,39.988190',\n",
       "   'tel': '010-64716251',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A7HS3L'},\n",
       "  {'parent': 'B0FFIJL0Q2',\n",
       "   'address': '望京花家地广顺北大街星源国际对面',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '55000.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '实景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/dddececaa5b0489185564f6141a24f46'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/66a2056f938b4d5e443293906d1ae994'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f61d141ed5ef79167b18945d4ef04ad6'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '308',\n",
       "   'adname': '朝阳区',\n",
       "   'name': '南湖东园一区',\n",
       "   'location': '116.465278,40.004165',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A844UM'},\n",
       "  {'parent': [],\n",
       "   'address': '望京西园429',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '49191.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a43623bff331df5193227f02d52af121'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d59d2f7f577e85774ae38538dbdca8a0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9faf8e88a16ec07fea4b7785699175ef'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '里外里公寓',\n",
       "   'location': '116.470066,39.993597',\n",
       "   'tel': '13651229269',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A81FVZ'},\n",
       "  {'parent': [],\n",
       "   'address': '望京中环南路9号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/44d7c03762952f62cb176e17261074f6'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/da87437f3b00f1fbc22aebd8972a7cba'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2e564f7a9e391eb21ae60b8da1f107be'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '望京大厦',\n",
       "   'location': '116.469999,39.986172',\n",
       "   'tel': '010-64711608;010-64711609',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A8W81N'},\n",
       "  {'parent': [],\n",
       "   'address': '望京西路317号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '77629.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '实景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c2ff703dded34c6db44a55dc04fac305'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3378bb22afb2b683a8867673288b55a3'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e21bca62eec895bb9459499b5e6deefb'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '首开知语城',\n",
       "   'location': '116.458759,39.993236',\n",
       "   'tel': '010-64705028',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A83MQP'},\n",
       "  {'parent': 'B0FFIJL0Q2',\n",
       "   'address': '南湖南路15号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '70000.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '实景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e203d85b881b4d2a83223dd9978708b0'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/304babc41b0e4e6c9638058a9173d4c0'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c603e0a882fa8ffc4333dcc1ddd0e896'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '308',\n",
       "   'adname': '朝阳区',\n",
       "   'name': '金隅丽港城',\n",
       "   'location': '116.46189,39.991312',\n",
       "   'tel': '15321530066',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A8455P'},\n",
       "  {'parent': [],\n",
       "   'address': '南湖东园122号(近广顺北大街)',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '29588.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ebbff3b2624f143fb1414e98cc03cac0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7ddafe9175698212404ccf04333c0e21'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8ed0557c9ddb9e30e30faf52b58a432f'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '博泰国际商业广场',\n",
       "   'location': '116.466738,40.002243',\n",
       "   'tel': '010-84728155',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A845C9'},\n",
       "  {'parent': [],\n",
       "   'address': '望京西园211',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '50000.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '实景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/81d1ccbcc3ed42d597526a9d240bb33b'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/68c2d6c012978510762cc33d556776f3'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/014d5dd258d8ff12190f688964542299'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '望京明苑',\n",
       "   'location': '116.468886,40.004394',\n",
       "   'tel': '010-64701619',\n",
       "   'shopid': [],\n",
       "   'id': 'B000A7YIG1'},\n",
       "  {'parent': [],\n",
       "   'address': '望京园402号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '45766.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a61694f5b19ae8b43e413325dd967a96'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6523e9c9be8ecbff777b96861d42084f'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/251a2abf6c230dd07547a66b52857644'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '东亚·望京中心',\n",
       "   'location': '116.472575,39.992093',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A84K8Q'},\n",
       "  {'parent': [],\n",
       "   'address': '望京西园221号',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '效果图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b200102e3a7b7551d0b0fe6c8da95e32'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53ab7beca3106c892e6e3de0'},\n",
       "    {'provider': [],\n",
       "     'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53ab7beca3106c892e6e3dde'}],\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'adname': '朝阳区',\n",
       "   'name': '博泰大厦',\n",
       "   'location': '116.472773,40.002225',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A72F14'},\n",
       "  {'parent': 'B0FFIJL0Q2',\n",
       "   'address': '望京新城南湖南路8号(近湖光中街)',\n",
       "   'distance': [],\n",
       "   'biz_ext': {'cost': '69621.00', 'rating': []},\n",
       "   'pname': '北京市',\n",
       "   'importance': [],\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'photos': [{'provider': [],\n",
       "     'title': '实景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/40340f9e9fdb48e58006d13bcc58485d'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b503dd2ddb6f47f0a9990d09dcc9a6b0'},\n",
       "    {'provider': [],\n",
       "     'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/15ff66bfc246a724dba8ced716b2ee8e'}],\n",
       "   'typecode': '120302',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': '308',\n",
       "   'adname': '朝阳区',\n",
       "   'name': '风格雅园(南湖南路)',\n",
       "   'location': '116.463765,39.995022',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B000A84AL3'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 79,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "polygon(key,'116.460988,40.006919|116.48231,40.007381;116.47516,39.99713|116.472596,39.985227|116.45669,39.984989|116.460988,40.006919')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### ID查询 \n",
    "\n",
    "> * 1、url:https://restapi.amap.com/v3/place/detail?parameters \n",
    "> * 2、requests.get()\n",
    "> * 3、[ID查询 文档](https://lbs.amap.com/api/webservice/guide/api/search#id)\n",
    "> * 4、参数：必选：key；id（兴趣点的唯一标识ID）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "metadata": {},
   "outputs": [],
   "source": [
    "def searchID(key,id,callback=None,output=\"JSON\"):\n",
    "    \"\"\"ID查询\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/place/detail?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"id\":id,\n",
    "    \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 86,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'count': '1',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '110000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': []},\n",
       "   'recommend': '0',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'photos': [{'title': '效果图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a9836f620749c34742cf1ab67dc98f08'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53b11166a310a21470acde3a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53b11166a310a21470acde31'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5916739702',\n",
       "   'typecode': '120201',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'deep_info': {'deepsrc': []},\n",
       "   'citycode': '010',\n",
       "   'adname': '朝阳区',\n",
       "   'indoor_src': '高德地图',\n",
       "   'children': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0FFFAB6J2',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.473993,39.992784',\n",
       "   'indoor_map': '1',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-10 15:33:24',\n",
       "   'website': [],\n",
       "   'address': '阜荣街10号',\n",
       "   'adcode': '110105',\n",
       "   'pname': '北京市',\n",
       "   'biz_type': [],\n",
       "   'cityname': '北京市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '望京',\n",
       "   'indoor_data': {'cmsid': 'TY000191_B0FFFAB6J2',\n",
       "    'truefloor': [],\n",
       "    'cpid': 'B0FFFAB6J2',\n",
       "    'floor': []},\n",
       "   'childtype': [],\n",
       "   'rich_content': [],\n",
       "   'exit_location': [],\n",
       "   'name': '首开广场',\n",
       "   'location': '116.473004,39.993306',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F001020_342662',\n",
       "   'groupbuy_num': '0'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 86,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "searchID(key,'B0FFFAB6J2')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### IP定位\n",
    "\n",
    "> * 1、产品介绍：IP定位是一个简单的HTTP接口，根据用户输入的IP地址，能够快速的帮用户定位IP的所在位置。\n",
    "> * 2、URL：https://restapi.amap.com/v3/ip?parameters\n",
    "> * 3、[IP定位文档](https://lbs.amap.com/api/webservice/guide/api/ipconfig)\n",
    "> * 4、参数：key，ip"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 82,
   "metadata": {},
   "outputs": [],
   "source": [
    "def ipconfig(key,ip,callback=None,output=\"JSON\"):\n",
    "    \"\"\"ID查询\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/ip?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"ip\":ip,\n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 84,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'province': '北京市',\n",
       " 'city': '北京市',\n",
       " 'adcode': '110000',\n",
       " 'rectangle': '116.0119343,39.66127144;116.7829835,40.2164962'}"
      ]
     },
     "execution_count": 84,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ipconfig(key,\"114.247.50.2\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 批量请求接口\n",
    "\n",
    "> * 1、产品介绍：批量接口通过用户传入合并后的请求，同时返回多个请求的顺序集合，目前最多支持20个子请求。 返回的顺序与子请求的顺序一致。希望批量得到接口返回数据的用户。\n",
    "> * 2、[批量请求接口文档](https://lbs.amap.com/api/webservice/guide/api/batchrequest)\n",
    "> * 3、url:https://restapi.amap.com/v3/batch?key=<用户的key>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "url = \"https://restapi.amap.com/v3/batch?key=<21c4d9d81092ea5963a76a2e02269961>\"\n",
    "params = {\n",
    "    \"ops\": [\n",
    "        {\n",
    "            \"url\": \"/v3/place/around?offset=10&page=1&key=<21c4d9d81092ea5963a76a2e02269961>&location=116.50394379585519,39.278209477408794&output=json&radius=100000&types=080000\"\n",
    "        },\n",
    "        {\n",
    "            \"url\": \"/v3/place/around?offset=10&page=1&key=<21c4d9d81092ea5963a76a2e02269961>&location=118.50394379585519,39.278209477408794&output=json&radius=100000&types=080000\"\n",
    "        }\n",
    "    ]\n",
    "}\n",
    "response = requests.post(url,params=params)\n",
    "response\n",
    "    # 返回值"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '0', 'info': 'INVALID_BATCH_PARAM', 'infocode': '20005'}"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.json()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 静态地图\n",
    "\n",
    "> * 1、产品介绍：静态地图服务通过返回一张地图图片响应HTTP请求，使用户能够将高德地图以图片形式嵌入自己的网页中。用户可以指定请求的地图位置、图片大小、以及在地图上添加覆盖物，如标签、标注、折线、多边形。\n",
    "> * 2、URL：https://restapi.amap.com/v3/staticmap?parameters\n",
    "> * 3、[静态地图文档](https://lbs.amap.com/api/webservice/guide/api/staticmaps)\n",
    "> * 4、参数：key，location,zoom"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": [
    "from PIL import Image\n",
    "from io import BytesIO"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "r = requests.get()\n",
    "results = Image.open(BytesIO(r.content))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [],
   "source": [
    "import json"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "def staticmap(key,location,zoom,size = 400*400,scale = 1,markers = 10,labels =10,paths = 4,traffic =1,sig = None):\n",
    "    \"\"\"静态地图使用户能够将高德地图以图片形式嵌入自己的网页中。用户可以指定请求的地图位置、图片大小、以及在地图上添加覆盖物，如标签、标注、折线、多边形。\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/staticmap?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"location\":location,\n",
    "        \"zoom\":zoom\n",
    "        \n",
    "    }\n",
    "    r = requests.get(url,params=params)\n",
    "    result = r.content\n",
    "    results = Image.open(BytesIO(r.content))\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAADAFBMVEX6+vnk5+b28/vW5vnW5OrX4/P08Or28+z39O/09PPa4Oj78urZ6Prw8PDq8fLX5/Tu9/7U4exiYWDb6On05tjX5ev9+/7X5+rkwLpHYXj29/Xb4+Hf6vCorK/w8/Tt8foAfeTx+OTo2dbV6ObZ5enb2NLm6uvm5+f26ebb5+zN5qbW6dvX3eLk8vnM4rLi0tLn8tfz+Ov69uu0rYYAicIZmsrz9eZHfcDi4eDj3tX8/Pvc29tPos/58eLi6unb29nS6K/uxZfr8vdCpvr369nq7dzN4vrU6PtNTk+3u77h7tJ4eXzp3MXV4vLb67xoamzT0tLU4un1x4rqwnaXlXrg3Nnx7OTk7fj1qmXz3pqFhoj3sXnit3TP5J/i6/frxoOZm53k7Oj8nFLfsWbS57rjycbD3PbY08nW1teCos7w9ffuz2NpaGfl7vHU4fCqqqrw7OTz9/ZcXmH1iDDi4+Lv132JiozP2t/l7/PL46i5ubnt8/jxv1WxsZ2+1ePt4NOKjpGQkpT13LLP0M3d7M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0BAnG0gC/pKCwsBCD553rB+fhyah0AxJFbSgrP+Ei+8ZPaeCBLZzzyq6V73nvvd4tnPrf4yFIAEhIB4YW28uMbJvuT5OqnsXODYE+I/Swn9pBQQ/5/Y+ORoEMl1N8AAAAASUVORK5CYII=\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=400x400 at 0x48DDE50>"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(key,geocode(key,\"广东省广州市暨南大学\"),15)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 坐标转换\n",
    "\n",
    "> * 1、产品介绍：坐标转换是一类简单的HTTP接口，能够将用户输入的非高德坐标（GPS坐标、mapbar坐标、baidu坐标）转换成高德坐标。\n",
    "> * 2、URL：https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\n",
    "> * 3、[IP定位文档](https://lbs.amap.com/api/webservice/guide/api/convert)\n",
    "> * 4、参数：key，locations,coordsys(可选值：gps;mapbar;baidu;autonavi(不进行转换))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [],
   "source": [
    "def convert(key,locations,coordsys=None,output=\"JSON\"):\n",
    "    \"\"\"坐标转换\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"locations\":locations,  \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'ok',\n",
       " 'infocode': '10000',\n",
       " 'locations': '113.350961,23.131577'}"
      ]
     },
     "execution_count": 45,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "convert(key,geocode(key,\"广东省广州市暨南大学\"),\"gps\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 天气查询\n",
    "\n",
    "> * 1、产品介绍：天气查询是一个简单的HTTP接口，根据用户输入的adcode，查询目标区域当前/未来的天气情况。\n",
    "> * 2、URL：https://restapi.amap.com/v3/weather/weatherInfo?parameters\n",
    "> * 3、[天气查询文档](https://lbs.amap.com/api/webservice/guide/api/weatherinfo)\n",
    "> * 4、参数：key，city（输入城市的adcode，adcode信息可参考城市编码表）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [],
   "source": [
    "def weatherinfo(key,city,extensions=None,output=\"JSON\"):\n",
    "    \"\"\"天气查询\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"city\":city,  \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'lives': [{'province': '广东',\n",
       "   'city': '顺德区',\n",
       "   'adcode': '440606',\n",
       "   'weather': '阴',\n",
       "   'temperature': '23',\n",
       "   'winddirection': '北',\n",
       "   'windpower': '≤3',\n",
       "   'humidity': '58',\n",
       "   'reporttime': '2020-11-14 16:22:19'}]}"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "weatherinfo(key,\"440606\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 输入提示\n",
    "\n",
    "> * 1、产品介绍：输入提示是一类简单的HTTP接口，提供根据用户输入的关键词查询返回建议列表。\n",
    "> * 2、URL：https://restapi.amap.com/v3/assistant/inputtips?parameters\n",
    "> * 3、[天气查询文档](https://lbs.amap.com/api/webservice/guide/api/inputtips)\n",
    "> * 4、参数：key，keywords"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "def inputtips(key,keywords,type=None,location=None,city=None,citylimit=\"false\",datatype=\"all\",callback=None,output=\"JSON\"):\n",
    "    \"\"\"输入提示，提供根据用户输入的关键词查询返回建议列表。\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/assistant/inputtips?parameters\"\n",
    "    params = {\n",
    "    \"key\":key,\n",
    "    \"keywords\":keywords,  \n",
    "     \"output\":\"json\"   \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    # 返回值\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '10',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'tips': [{'id': 'B00140WEW0',\n",
       "   'name': '广州站',\n",
       "   'district': '广东省广州市越秀区',\n",
       "   'adcode': '440104',\n",
       "   'location': '113.257331,23.149243',\n",
       "   'address': '环市西路159号',\n",
       "   'typecode': '150200',\n",
       "   'city': []},\n",
       "  {'id': 'B00140VAP3',\n",
       "   'name': '广州南站',\n",
       "   'district': '广东省广州市番禺区',\n",
       "   'adcode': '440113',\n",
       "   'location': '113.269114,22.988374',\n",
       "   'address': '南站北路',\n",
       "   'typecode': '150200',\n",
       "   'city': []},\n",
       "  {'id': [],\n",
       "   'name': '广州市',\n",
       "   'district': '广东省广州市',\n",
       "   'adcode': '440104',\n",
       "   'location': [],\n",
       "   'address': '越秀区',\n",
       "   'typecode': '190104',\n",
       "   'city': []},\n",
       "  {'id': 'B00140WBI1',\n",
       "   'name': '广州塔',\n",
       "   'district': '广东省广州市海珠区',\n",
       "   'adcode': '440105',\n",
       "   'location': '113.324553,23.106414',\n",
       "   'address': '阅江西路222号',\n",
       "   'typecode': '110200',\n",
       "   'city': []},\n",
       "  {'id': 'B00140TY64',\n",
       "   'name': '广州东站',\n",
       "   'district': '广东省广州市天河区',\n",
       "   'adcode': '440106',\n",
       "   'location': '113.324981,23.150597',\n",
       "   'address': '东站路1号',\n",
       "   'typecode': '150200',\n",
       "   'city': []},\n",
       "  {'id': 'B00140UERW',\n",
       "   'name': '广州北站',\n",
       "   'district': '广东省广州市花都区',\n",
       "   'adcode': '440114',\n",
       "   'location': '113.203846,23.377273',\n",
       "   'address': '站前路1号',\n",
       "   'typecode': '150200',\n",
       "   'city': []},\n",
       "  {'id': 'B03170RV0J',\n",
       "   'name': '广州路',\n",
       "   'district': '江西省南昌市青云谱区',\n",
       "   'adcode': '360104',\n",
       "   'location': '115.937772,28.620635',\n",
       "   'address': [],\n",
       "   'typecode': '190301',\n",
       "   'city': []},\n",
       "  {'id': 'B00190AYI5',\n",
       "   'name': '广州路',\n",
       "   'district': '江苏省南京市鼓楼区',\n",
       "   'adcode': '320106',\n",
       "   'location': '118.770105,32.049999',\n",
       "   'address': [],\n",
       "   'typecode': '190301',\n",
       "   'city': []},\n",
       "  {'id': 'B0214080X1',\n",
       "   'name': '广州路',\n",
       "   'district': '山东省青岛市市南区',\n",
       "   'adcode': '370202',\n",
       "   'location': '120.311271,36.065385',\n",
       "   'address': [],\n",
       "   'typecode': '190301',\n",
       "   'city': []},\n",
       "  {'id': 'B0FFGX8QVS',\n",
       "   'name': '广州街',\n",
       "   'district': '广西壮族自治区百色市右江区',\n",
       "   'adcode': '451002',\n",
       "   'location': '106.618084,23.893754',\n",
       "   'address': [],\n",
       "   'typecode': '190301',\n",
       "   'city': []}]}"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "inputtips(key,\"广州\")\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 交通态势\n",
    "\n",
    "> * 1、高德交通态势对新用户不开放！\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "188.188px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
